Reputation:
Trying to install rails 3.2.7. Still stuck with the problems of rvm etc.
gem install rails
fetches me following :-
ERROR: Could not find a valid gem 'rails' (>= 0) in any repository
How can I get rails 3.2.7 up and working in my system?
Upvotes: 1
Views: 15850
Reputation: 16012
gem sources
should at least contain https://rubygems.org
. If not
gem sources -a https://rubygems.org
should help.
Upvotes: 7
Reputation: 96594
Use rvm gem install rails
I just did it and it worked for me.
If you don't have rvm, then:
Install RVM and ruby:
$ curl -L https://get.rvm.io | bash -s stable --ruby
or
Additionally with rails: $ curl -L https://get.rvm.io | bash -s stable --rails
Upvotes: 0