Jruby 1.5.1 wants to use rake to install

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

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
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:inactivate’
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.

maybe related to

Roger, thanks for the pointers. I’ll have to keep looking.

I’m using capistrano to spin up new instances in aws… I have to do a
weird scripts to intall it.

  1. rvm install jruby-1.5.1 …
  2. gem install rake
  3. gem install rspec
  4. rvm install jruby-1.5.1 …

Apparently, after install rake. It dies on “rspec gem not found”.

Finally, when the jruby is installed, it added the gem ruby-launcher as
part of the basic install.