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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T08:22:03+00:00 2026-05-29T08:22:03+00:00

I had already installed rails 1.8.7, forgot about it, then installed 1.9.3 through RVM.

  • 0

I had already installed rails 1.8.7, forgot about it, then installed 1.9.3 through RVM. I was getting weird errors, so I purged my Mac of the system version of Ruby and started again using RVM. So far I’ve

Installed Ruby:

rvm reinstall 1.9.3-p0
which ruby
/Users/User/.rvm/rubies/ruby-1.9.3-p0/bin/ruby

Manually setup Rubygems

which gem
/Users/User/.rvm/rubies/ruby-1.9.3-p0/bin/gem

Tried to install rails

sudo gem install rails
Successfully installed rails-3.2.1
1 gem installed
gem list
rails (3.2.1, 3.2.0)

It says rails is installed, but which gem does not work, and when I try to use rails new I get:

-bash: rails: command not found

I’m definitely missing something here. The only explanation I can think of is that there are remnants of a previous ruby or rails install that’s causing problems. Is there a way to start completely from scratch?

  • 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-29T08:22:04+00:00Added an answer on May 29, 2026 at 8:22 am

    If you are using RVM, you should not use “sudo” when you install gems. That will install gems to your system ruby version (not on the RVM rubies).

    First, set up default rvm ruby like

    rvm use ruby-1.9.3-p0 --default
    

    Then, install rails on it by running:

    gem install rails -v=3.2.1
    

    It’s actually better to use gemsets so you can have different gems set for the same ruby version. Check here for more info.

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

Sidebar

Related Questions

Glassfish had already been installed into Netbeans. But I forgot the password and username.
I am going through this tutorial , but I already had Ruby 1.8.7 installed.
I had already installed opencv 2.4.2 on my ubuntu 12.04 lts system. But now
I have successfully installed jquery-rails in my rails 3 test app. I already had
OS X 10.5.8 came with Python 2.5, and had PyObjC already installed. I installed
I had already installed VS 2008 in my Laptop.When i starts installing vs_vstsweb.exe(Microsoft Visual
I installed the Rails installer in my Win7 machine from http://railsinstaller.org/ . I already
I had already installed Python 3.2 on my development computer. It was mainly for
After I installed Aptana (install directory: /usr/share/aptana ) I keep getting errors like this:
I had mysql already installed on my macbook and hence decided to use macports

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.