gem install compass 報(bào)錯(cuò)
ivan:~ ivan$ gem install compass
ERROR:? Could not find a valid gem 'compass' (>= 0), here is why:
? ? ? ? ? Unable to download data from https://ruby.taobao.org - hostname "rubygems-china.oss.aliyuncs.com" does not match the server certificate (https://rubygems-china.oss.aliyuncs.com/latest_specs.4.8.gz)
ERROR:? Possible alternatives: compass
如何解決
2016-03-24
你遇到這樣的問(wèn)題的時(shí)候,可能是被墻了,使用 淘寶的ruby 鏡像:鏡像,按照上面的方式安裝,可能會(huì)出現(xiàn)錯(cuò)誤,然后按照具體設(shè)置這個(gè)上面的方法即可
2015-09-07
https://rubygems.org/gems/compass??
爬墻出去,到這個(gè)網(wǎng)站的右下角download compass-1.0.3.gem回來(lái),在終端那
輸入sudo gem install,然后把這個(gè)文件拖進(jìn)去 回車后稍等就可以了。
2015-05-25
是不是考慮安裝node然后用npm來(lái)安裝更簡(jiǎn)單一點(diǎn)。你的提示錯(cuò)誤是下載不到文件,指向的是淘寶的鏡像吧!換種方式安裝