gem install rails doesn't work due to openssl/ETimedout in windows

后端 未结 1 428
日久生厌
日久生厌 2021-01-07 02:00

Initially, I have ruby 1.9.3 version installed in my windows 7 and i have installed ruby 2.0.0p195 recently and have tested from command promot (

相关标签:
1条回答
  • 2021-01-07 02:35

    The problem could be because you are behind proxy/firewall that blocks you from downloading from rubygems.org. See the below thread on rubygems.org for similiar issue:

    http://help.rubygems.org/discussions/problems/799-ruby-gem-install-problems-on-windows-xp

    Try using --http-proxy option while installing.

    For people who are not able to make it work through --http-proxy, try the below. Added from the comment below.

    gem install rails --http-proxy --source http://rubygems.org --debug -v
    
    0 讨论(0)
提交回复
热议问题