paopao_zxc
2016-02-25 12:27
1 我执行了gem sources --remove https://rubygems.org/ 成功了
2 我执行 gem sources -a https://ruby.taobao.org/ 失败了错误如下
ERROR: While executing gem ... (Errno::ENETRESET)
The connection has been broken due to keep-alive activity detecting a failur
e while the operation was in progress. - recvfrom(2)
3 我试图将remove掉的源添加回来,执行了:gem sources --add https://rubygems.org/
但是报错,错误信息和第二步是一样的
ERROR: While executing gem ... (Errno::ENETRESET)
The connection has been broken due to keep-alive activity detecting a failur
e while the operation was in progress. - recvfrom(2)
域名备案问题,现在要改成这个。gem sources --add http://gems.ruby-china.com/ --remove https://rubygems.org/
我试了很多都不行,这个可以gem sources --add http://gems.ruby-china.org/ --remove https://rubygems.org/
然后再执行gem install sass
sass更换源后重新安装一下
http://awordpress.net/blog/how-to-install-sass-with-compass-windows7-step-by-step-guide/
Sass入门篇
104420 学习 · 263 问题
相似问题