I'm trying to install rails using the following command:
$ sudo gem install rails --source http://gems.rubyonrails.org
But this is what i'm getting:
WARNING: RubyGems 1.2+ index not found for:
http://gems.rubyonrails.org/
RubyGems will revert to legacy indexes degrading performance.
ERROR: While executing gem ... (Gem::Package::FormatError)
No metadata found!
Any help will be appreciated!