How can I get past “http://gems.rubyforge.org/ does not appear to be a repository” error message

前端 未结 5 1681
忘掉有多难
忘掉有多难 2020-12-05 18:32

Question 828421 asked similar question, but received only one real answer (update rubygems) and that attempt results in the same error.

Ruby version 1.9.1.p243 on Wi

5条回答
  •  一整个雨季
    2020-12-05 19:14

    Your browser might be using system-wide proxy settings or some sort of automatic configuration. The gem command probably doesn't. I'm behind an university proxy and I can't install/update any gems normally, but can access everything with my browser. To install gems, I normally create a tunnel to my server so I can bypass the proxy server.

    This might help you to configure the proxy settings for the gem command: How do I update Ruby Gems from behind a Proxy (ISA-NTLM)

提交回复
热议问题