Remember to set your proxy first as below:
In Windows:
gem install rails
ERROR: http://gems.rubyforge.org/ does not appear to be a repository
Before we begin, if you are behind a proxy, open the command prompt and give the following command:
>Set HTTP_PROXY=http://:
For example, if the address of the proxy server is 192.168.1.1 and the port number is 9090, then you would have to give the following at the command prompt:
>set HTTP_PROXY=http://192.168.1.1:9090
Next, give the following command at the prompt:
>gem update
No comments:
Post a Comment