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

  • Home
  • SEARCH
  • 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 7568351
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T14:54:10+00:00 2026-05-30T14:54:10+00:00

I am trying to get a multiple ruby/rails environment set up with rvm but

  • 0

I am trying to get a multiple ruby/rails environment set up with rvm but I am having some problems.

If I try to install a legacy rails version (say, ruby 1.8.7 / rails 2.0.2) it goes through the motions but no gems are present at the end of the process. For example:

$ rvm install 1.8.7-head
$ rvm use ruby-1.8.7-head@rails-2.0.2 --create
$ gem install -v=2.0.2 rails
$ gem list

*** LOCAL GEMS ***

$

If I install ruby ruby-1.9.3-p0@rails it works fine.

I am on ArchLinux and I am using the rvm multi-user setup. I have created a non-root account to set up rvm, install the rubies and the gemsets.I have installed rubies ruby-1.8.7-head, ruby-1.8.7-p358 and ruby-1.9.3-p0.

The install of ruby-1.9.3-p0@rails worked fine but the install of ruby1.8.7 and rails-2.0.2 did not. It goes through the motions of an install but the gems aren’t there when it finished.

I’ve added a transcript showing the exact commands I used here: http://pastebin.com/msa3u6w6.

I have followed closely the ArchLinux tutorial and the information on the RVM site also. Having spent several hours trying to fix this, I’d be grateful if anyone can help me.

My rvm info is below:

$ rvm info

ruby-1.8.7-head@rails-2.0.2:

  system:
    uname:       "Linux railsdev1 3.2.1-2-ARCH #1 SMP PREEMPT Mon Jan 23 12:40:01 UTC 2012 x86_64 Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz GenuineIntel GNU/Linux"
    bash:        "/bin/bash => GNU bash, version 4.2.20(2)-release (x86_64-unknown-linux-gnu)"
    zsh:         " => not installed"

  rvm:
    version:      "rvm 1.10.3 by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.beginrescueend.com/]"
    updated:      "2 hours 12 minutes 19 seconds ago"

  ruby:
    interpreter:  "ruby"
    version:      "1.9.3p125"
    date:         "2012-02-16"
    platform:     "x86_64-linux"
    patchlevel:   "2012-02-16 revision 34643"
    full_version: "ruby 1.9.3p125 (2012-02-16 revision 34643) [x86_64-linux]"

  homes:
    gem:          "/usr/local/rvm/gems/ruby-1.8.7-head@rails-2.0.2"
    ruby:         "/usr/local/rvm/rubies/ruby-1.8.7-head"

  binaries:
    ruby:         "/usr/bin/ruby"
    irb:          "/usr/bin/irb"
    gem:          "/usr/bin/gem"
    rake:         "/usr/bin/rake"

  environment:
    PATH:         "/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/bin/vendor_perl:/usr/bin/core_perl:/usr/local/rvm/bin"
    GEM_HOME:     "/usr/local/rvm/gems/ruby-1.8.7-head@rails-2.0.2"
    GEM_PATH:     "/usr/local/rvm/gems/ruby-1.8.7-head@rails-2.0.2:/usr/local/rvm/gems/ruby-1.8.7-head@global"
    MY_RUBY_HOME: "/usr/local/rvm/rubies/ruby-1.8.7-head"
    IRBRC:        "/usr/local/rvm/rubies/ruby-1.8.7-head/.irbrc"
    RUBYOPT:      ""
    gemset:       "rails-2.0.2"


$ gem list

*** LOCAL GEMS ***


$ 
  • 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-30T14:54:11+00:00Added an answer on May 30, 2026 at 2:54 pm

    I guess you have errors running rvm install 1.8.7-head basically 1.8.7 is already old release and you should have no interest in running head version, try instead:

    rvm get head
    rvm use 1.8.7@rails-2.0.2 --install --create
    

    This will install & use ruby 1.8.7-p358 (the current patchlevel as of writing this).

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

Sidebar

Related Questions

Trying to get into Rails and feedzirra! :) I have stores multiple feed urls
I am trying to get multiple values is strtotime to work together but they
I'm trying to get multiple descendants and give these values to some properties in
I'm using Ruby on Rails 3.1 with mongoid and trying to set up som
I am trying to use an sql query but i get multiple times the
Having some problems while trying to optimize my SQL. I got 2 tables like
I have a question about the JFileChooser in Swing. I'm trying to get multiple
I am trying to get a multiple upload library working for my Codeigniter based
I am trying to get my query to grab multiple rows while returning the
I am trying to get jquery validate to work on multiple fields. Reason being

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.