I’m trying to install a jruby 1.5.1 on a fresh system using rvm… here
is the commad
rvm install jruby-1.5.1
–with-openssl-dir=/usr/local/rvm/usr,–with-readline-dir=/usr/local/rvm/usr
I need to install jruby-1.5.1 before installing any other gems. But i
get this error saying it needs the rake gem!
…
/usr/local/rvm/rubies/jruby-1.5.1/bin/jruby -S rake
/usr/local/rvm/rubies/jruby-1.5.1/lib/ruby/site_ruby/1.8/rubygems.rb:777:in
report_activate_error': Could not find RubyGem rake (>= 0) (Gem::LoadError) from /usr/local/rvm/rubies/jruby-1.5.1/lib/ruby/site_ruby/1.8/rubygems.rb:211:in
activate’
from
/usr/local/rvm/rubies/jruby-1.5.1/lib/ruby/site_ruby/1.8/rubygems.rb:1056:in
`gem’
from /usr/local/rvm/rubies/jruby-1.5.1/bin/rake:18
make: *** [test] Error 1
Seem like a catch-22, need jruby-1.5.1 before i can install rake, but
jruby-1.5.1. need rake to install!
Thanks for any insights.