[jruby-user] Re: JRuby: gem install paths not working compared to Ruby

Johan Wasserman <[email protected]> Mon, 05 Jan 2015 22:53:30 +0100
Newsgroups gmane.comp.lang.jruby.user
Message-ID <[email protected]>
Hi Christian,  thank you for your response, but as you can see from the
snippets above I have no standard ruby in any of the paths. Also, the
second and third error examples show that jruby -S gem does not work,
and that bundler cannot be installed for the same reason, here are these
snippets again:
jruby -S gem install rails
ERROR:  While executing gem ... (Errno::ENOENT)
    No such file or directory -
C:\Johan_Wasserman.rvm\gems\jruby-1.7.18\gems\i18n-0.7.0

which gem
/Johan_Wasserman.rvm/rubies/jruby-1.7.18/bin/gem

gem install bundler
Fetching: bundler-1.7.11.gem (100%)
ERROR:  While executing gem ... (Errno::ENOENT)
    No such file or directory -
C:\Johan_Wasserman.rvm\gems\jruby-1.7.18\gems\bundler-1.7.11

What is obvious from these snippets is that jruby's gem installer
converts the directory in to a windows style format, and presumes that
my Cygwin home is located in C:\

Kind regards,
Johan.

-- 
Posted via http://www.ruby-forum.com/.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email