Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've managed to install Ruby and the gems install (rvm?) but now I'm stuck actually installing Ruby on Rails.

Every time I execute, gem install rails Terminal says that it's fetching each file and that it successfully installed it:

1 gem installed

However when I then run the rails command, I'm told that it's not installed and to run the gem install rails command again.

I've attempted to install with sudo but the same thing happens. I've restarted after an install and that's not worked.


share|improve this question
To help troubleshoot your install, please run the following commands in your terminal ($ is the terminal prompt): $ which rvm $ which ruby $ ruby -v $ gem list – Jason Noble Jun 18 '12 at 14:01
check your $PATH environment variable. – iMom0 Jun 18 '12 at 15:03
Do you see it in the gem list? – Semyon Perepelitsa Jun 18 '12 at 16:58

First select the "global" RVM gemset by

rvm gemset use global

then install rails and other gems.

gem install rails

Now it works fine.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .