ERROR: Could not find a valid gem 'sass' (>= 0) in any repository
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)
2019-05-21
域名備案問題,現在要改成這個。gem sources --add http://gems.ruby-china.com/ --remove?https://rubygems.org/
2017-06-29
我試了很多都不行,這個可以gem sources --add http://gems.ruby-china.org/ --remove https://rubygems.org/? ??
然后再執行gem install sass
2016-02-26
sass更換源后重新安裝一下
http://awordpress.net/blog/how-to-install-sass-with-compass-windows7-step-by-step-guide/