安裝sass報錯解決方案

admin發表於2017-02-22
當安裝完ruby,然後再進行sass安裝的時候,可能會出現錯誤。

程式碼如下:

[JavaScript] 純文字檢視 複製程式碼
C:\Users\len>gem install sass
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    Errno::ETIMEDOUT: A connection attempt failed because the connected party di
d not properly respond after a period of time, or established connection failed
because connected host has failed to respond. - connect(2) for "rubygems.global.
ssl.fastly.net" port 443 (https://api.rubygems.org/quick/Marshal.4.8/sass-3.4.13.gemspec.rz)

這主要是由於國內的網路原因導致的,大家都懂得。

具體解決方案這裡就不多介紹了,可以參閱如何更換gem sources一章節。


相關文章