“gem install rails” fails with DNS error

后端 未结 14 681
我在风中等你
我在风中等你 2020-12-01 07:59
$ rvm use
Using /home/owner/.rvm/gems/ruby-2.1.2
$ gem install rails
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    Errno::ECONNREFUSED: Connec         


        
14条回答
  •  离开以前
    2020-12-01 08:53

    it appears comcast recently appended home.network to customers DNS search path

    I resolved this issue by completing the following steps on Windows Vista:

    control panel -> network and sharing center -> manage network connections -> wireless properties -> ip4 properties -> advanced -> dns tab -> select append these dns suffices in order and added home.lan.

    now gem install runs without a hitch

提交回复
热议问题