When I was trying to install rails by giving the command “gem install
rails” , i got the below error-
ERROR: http://rubygems.org/ does not appear to be a repository
ERROR: Could not find a valid gem ‘rails’ (>= 0) in any repository
Can you please tell me how to install rails .