天天看點

gen install compass--在window compass安裝

首先rubygems.org被牆 需要用淘寶的鏡像

gem sources --remove https://rubygems.org/

gem sources -a https://ruby.taobao.org/

gem sources -l

然後

gem install sass

然後

gem install compass

需要注意的:

ruby的版本可能舊了 需要

gem update -- system

之前install失敗留下的cache可能會造成Error 需要去對應目錄删除 根據錯誤提示去找