Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 669649
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T00:10:26+00:00 2026-05-14T00:10:26+00:00

Today I installed JRuby by downloading it, extracting it to /home/james/jruby-1.4.0 , and adding

  • 0

Today I installed JRuby by downloading it, extracting it to /home/james/jruby-1.4.0, and adding the following lines to .bashrc:

export JRUBY_HOME=/home/james/jruby-1.4.0
export PATH=$JRUBY_HOME/bin:$PATH

And then I installed some JRuby gems via jruby -S gem install ...

Jruby works fine, but this seems to have caused two problems:

  1. When I try to run a Ruby (not JRuby) on Rails migration, I see:

    Missing the Rails  gem. Please `gem install -v= rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.
    
  2. When I do gem list --local, I only see the gems that I’ve installed for JRuby.

Launching web applications via ruby script/server succeeds without any warnings.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T00:10:27+00:00Added an answer on May 14, 2026 at 12:10 am

    Change your path line in your .bashrc to be like this:

    export PATH=$PATH:$JRUBY_HOME/bin

    Then your gem command will find the MRI one first.

    To invoke the jruby gem command use the -S switch, e.g.

    jruby -S gem list --local

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I installed Netbeans IDE 6.8 today to use it while learning Ruby. Here the
Today I installed Visual Studio 2010 Ultimate - RTM. One item that I noticed
Today i installed Ubuntu 10.4 and Eclipse Galileo. Then I downloaded the Android SDK
I installed today from Market, the Yahoo Mail application and I was reading it
I started learning vim today and installed it using sudo apt-get install vim Now,
Today I have installed iPhone SDK 3.1 along with appropriate XCode. The thing that
I have a big problem opening http://localhost/ on Windows 7 (beta). I installed this
Sometimes when I change my environment variables in Windows, and then use software the
I am using the Microsoft.VisualStudio.TextTemplating.Engine class from the VS 2008 SDK along with the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.