我正在尝试安装ruby'gem sass。我先运行Ruby安装,然后: gem install sass。但我得到一个错误:无法安装Ruby的sass gem
C:\ Windows \ System32下>创业板安装青菜 错误:无法找到有效的宝石 '青菜'(> = 0)在任何复位器Ÿ
任何想法那可能是什么?
感谢
Update.
The connad: gem sources --add https://rubygems.org/ fails:
C:\Windows\system32>gem sources --add https://rubygems.org/
Error fetching https://rubygems.org/:
Errno::ETIMEDOUT: A connection attempt failed because the connected party
did not properly respond after a period of time, or established connection failed
because connected host has failed to respond. - connect(2) for "api.rubygems.org"
port 443 (https://api.rubygems.org/specs.4.8.gz)
它必须是我们用来访问Internet代理设置。是否有可能让Ruby履行这些设置?
更新2
C:\Windows\system32>gem sources --add http://rubygems.org/
https://rubygems.org is recommended for security over http://rubygems.org/
Do you want to add this insecure source? [yn] y
Error fetching http://rubygems.org/:
Errno::ETIMEDOUT: A connection attempt failed because the connected part
y did not properly respond after a period of time, or established connection fai
led because connected host has failed to respond. - connect(2) for "api.rubygems
.org" port 80 (http://api.rubygems.org/specs.4.8.gz)
请告诉我宝石'结果sources' – Sajin
C:\ Windows \ System32下>宝石来源 ***当前来源*** – Mark