随笔 - 587  文章 - 0 评论 - 117 阅读 - 71万
< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

问题描述:
ERROR:  While executing gem ... (SocketError)getaddrinfo: no address associated with hostname.

问题出在我这边的网络慢,并且是使用得代理上网

解决办法:
set http_proxy=http://192.168.0.1:80

gem install rails --include-dependencies

posted on   沧海-重庆  阅读(6275)  评论(1编辑  收藏  举报
点击右上角即可分享
微信分享提示