jruby -S bundle install jruby: No such file or directory -- bundle (LoadError)

james raygan picture james raygan · Jun 27, 2013 · Viewed 9.3k times · Source

I have my ruby on rails application and I have installed jruby-1.7.4 in my Windows XP.

When I try to run jruby -S bundle install it gives me an error

jruby: No such file or directory -- bundle (LoadError)

I am really stack with this error.. Please help..

Answer

Andrew Marshall picture Andrew Marshall · Jun 27, 2013

Bundler is probably not installed. You can check the output of jruby -S gem list to verify, and then install it with:

jruby -S gem install bundler

In general, a LoadError means you’re missing a gem dependency.