Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Previously, I ran apt-get install rails, but that only installed rails 2, so I subsequently ran gem install rails. The output of that command clearly references rails 3, not 2:

Fetching: railties-3.2.9.gem (100%)
Fetching: bundler-1.2.3.gem (100%)
Fetching: rails-3.2.9.gem (100%)
# ...

...but rails -v outputs Rails 2.3.14. Gah! I can't run my rails local server! Yet when I run gem list rails, the output is:

*** LOCAL GEMS ***

rails (3.2.9)

What am I to do to get the rails 3 rails command to work on the command line?

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.