我正在嘗試安裝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