I have the following line in my GemFile :
gem \'rails\', :git => \'git://github.com/rails/rails.git\'
I get the following error:
Try this instead in your Gemfile:
Gemfile
gem 'rails', :git => "https://github.com/rails/rails.git"
git:// can sometimes be blocked by firewalls. Though in your case that's probably not the issue. Try double quotes instead.
git://