Re: [jruby-user] Re: JRuby: gem install paths not working compared to Ruby
Christian MICHON <[email protected]> Tue, 6 Jan 2015 00:28:21 +0100
| Newsgroups | gmane.comp.lang.jruby.user |
|---|---|
| Message-ID | <CACx2yF-YNp5=fcEE7NUOAEg6gZCxrM20KACJ+9D3N_AuAV-usw@mail.gmail.com> |
any further luck using "jruby -s jgem" instead of "jruby -s gem" ? I use jruby on windows, but without rvm and not on cygwin... I can guarantee the gem installation works... Any further details you could share? (OS version, java version, etc...) On Mon, Jan 5, 2015 at 10:53 PM, Johan Wasserman <[email protected]> wrote: > 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 > > > -- Christian