Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why can JRuby find my installed gems?

gems installed jruby
0
Posted

Why can JRuby find my installed gems?

0

JRuby can only see the gems installed with the gem command shipped with JRuby. The gems installed this way will be stored under $JRUBY_HOME/lib/ruby. If you try to run Rails and get the error, “Cannot find gem for Rails ~>1.2.2.0:” (or whatever version you are using), the problem is probably that you haven’t installed the Rails-gem and its dependencies with the JRuby gem-command.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123