I am a beginner starting to learn Ruby on Rails and I would like to install rails on my Mac. I am following the instructions step-by-step on this website: http://installrails.com/steps/install_rails and when I type the command
gem install rails --no-ri --no-rdoc
ERROR: Could not find a valid gem 'rails' (>= 0), here is why:
Unable to download data from https://rubygems.org/ - no such name (https://api.rubygems.org/specs.4.8.gz)
Make sure that the internet proxy you are connecting to is right. It was just the problem of internet connection.