Could not fetch specs from http://rubygems.org

If you are trying test tutorial of ruby on rails, ruby on rails, and after of write this line:

$ rails new blog

appears: Could not fetch specs from https://rubygems.org.
Is possible that your firewall or proxy, is denying the connection, to solve this problem i had to download the gems of rubygems.org and installing manually, only necessary.

the gems that you must install, are in the command line after you puts:

$ rails server

perhaps these sdoc-0.3.20.gem, jbuilder-1.2.0.gem, etc.

to install these gems, open command prompt with ruby on rails, redirect to folder location where you downloaded the gems, and puts:

$ gem install sdoc

that's all, some gems require other gems, so that first intalls the required gems.

finally continuing with the tutorial of ruby on rails.

Comments

Popular posts from this blog

add header image itextsharp c#

Basketball in Peru