JRuby installs have started failing when installing gems

14 views
Skip to first unread message

James Norton

unread,
Feb 8, 2012, 2:13:23 PM2/8/12
to rvm (Ruby Version Manager)
I have been using rvm for quite some time but seem to have screwed
things up somehow. No matter which JRuby install I use via 'rvm use',
I get the following warning/error when trying to install gems:

Warning: JRuby home "/Users/jnorton/.rvm/rubies/jruby-1.6.5.1" does
not exist, using /var/folders/n2/1j44tnc57kx9sb5lg9tvw38m0000gn/T/
org.jruby.exceptions.RaiseException: (LoadError) library `thread'
could not be loaded: java.lang.OutOfMemoryError: GC overhead limit
exceeded

Notice the reference to jruby-1.6.5.1. This happens even with a newly
installed JRuby 1.6.6. I have not had problems installing gems with
standard Ruby installs, just JRuby. This worked fine on JRuby up
until today.

Does anyone have any ideas what I did wrong and how to fix it?

Thanks,

James

mpapis

unread,
Feb 10, 2012, 8:19:40 PM2/10/12
to rvm (Ruby Version Manager)
rvm will try to use ruby version specified in `$rvm_path/config/
{db,known}` when it was not given on command line, I guess you missed
to update rvm: rvm get head / stable
Reply all
Reply to author
Forward
0 new messages