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 8894155
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T23:25:29+00:00 2026-06-14T23:25:29+00:00

This question has two parts: I installed JRuby using rvm today, install went fine.

  • 0

This question has two parts:

  1. I installed JRuby using rvm today, install went fine. I also
    have Ruby 1.9.3 installed on my system. Is there an easy way to
    re-install the same gems I have in 1.9.3 into JRuby?
  2. I attempted to install the json gem in JRuby. First I switched from
    my default Ruby to JRuby by doing: rvm jruby (and checked to make
    sure I was using jruby by doing rvm current). Then I did jruby
    -S gem install json
    . It sucessfully installed:

    Successfully installed json-1.7.5-java
    

    But when I do gem list (or jruby -S gem list), I just get the gems that were installed when JRuby was installed. I tried exiting the terminal, and doing gem list again, but it still does not show.

Any help is appreciated. Thanks

UPDATE

I found that the gempath in gem env is not the same as where the gems are being installed. How do I add another new gempath to this list (in bash)? or preferably how do I ensure the gems are being installed in the correct GEM PATH?

  • 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-06-14T23:25:30+00:00Added an answer on June 14, 2026 at 11:25 pm

    Since I used rvm to install jruby, I used this to install the gem in the correct location:

    sudo rvm jruby do gem install json
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This question has two parts: #1 I have a functions.php that is filled with
This question has two parts. Part 1. Yesterday I had some code which would
This question has two parts (maybe one solution?): Sample vectors from a sparse matrix
This question actually has two parts. The first part: I've been developing my first
my question has two parts, but they are related. Firstly - I have Contenteditable
This question has two parts. First, I need to isolate two strings of text
This question has two parts. The collection structure is: _id: MongoID, agent_id: string, result:
My question has two parts regarding haproxy. Question 1: The service that I am
This question is in two parts: A) Is my design wrong? If so, what
I have a page which has two distinct parts : a left side of

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.