wayneeseguin/rvm — comment on commit 26e27209bf3f2e2261c87561d7f64ef4afc18d31
File:  line 0
By tsechingho:

I had 1.10.2 already. Today I do `rvm get head`, and found jruby-1.6.6, then install it.

Now I try to remove all jruby, only install jruby-1.6.6 as following

rvm use 1.9.2
rvm remove jruby-1.6.5.1
rvm remove jruby-1.6.6
rvm cleanup all
rvm repair all
rm -rf ~/.rvm/gems/jruby*
rm -rf ~/.rvm/gemsets/jruby
rvm install jruby

I got the messages

jruby-1.6.6 - #fetching
jruby-1.6.6 - #downloading jruby-bin-1.6.6, this may take a while depending on your connection...
jruby-1.6.6 - #extracting jruby-bin-1.6.6 to /Users/tsechingho/.rvm/src/jruby-1.6.6
jruby-1.6.6 - #extracted to /Users/tsechingho/.rvm/src/jruby-1.6.6
Building Nailgun
jruby-1.6.6 - #installing to /Users/tsechingho/.rvm/rubies/jruby-1.6.6
jruby-1.6.6 - #importing default gemsets (/Users/tsechingho/.rvm/gemsets/)
Copying across included gems
Warning: JRuby home "/Users/tsechingho/.rvm/rubies/jruby-1.6.5.1" does not exist, using /var/folders/5t/l4fc9kj96l70bjlqxn0k9ns00000gn/T/
LoadError: no such file to load -- rubygems
require at org/jruby/RubyKernel.java:1038
(root) at /Users/tsechingho/.rvm/rubies/jruby-1.6.6/bin/gem:12

It looks like I have to reinstall it. I try to not use --19 option first

rvm reinstall jruby
rvm reload
rvm use jruby
rvm info

I got wrong 'ruby' info but others like 'homes', 'binaries', and 'environment' are correct. (same before I remove all jruby)

ruby:
full_version: "jruby 1.6.5.1 (ruby-1.8.7-p330) (2011-12-27 1bf37c2) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_29) [darwin-x86_64-java]"
homes:
ruby: "/Users/tsechingho/.rvm/rubies/jruby-1.6.6"
binaries:
ruby: "/Users/tsechingho/.rvm/rubies/jruby-1.6.6/bin/ruby"
environment:
MY_RUBY_HOME: "/Users/tsechingho/.rvm/rubies/jruby-1.6.6"

and `gem list` is failed. So I try your suggestion to reinstall with --19 option

rvm use 1.9.2
rvm reinstall jruby --19
rvm info

NO, It still NOT works.

Although it fetch directly from github (slow since clone it), not from amazon s3.

Should I `rvm implode` to start over? It looks only bug me.

Sorry, I make it looks like an issue report.