compass 安裝(Mac版)

gem install compass sass

ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.

sudo gem install compassruby

ERROR:  While executing gem ... (Errno::EPERM)
    Operation not permitted - /usr/bin/compass

網上查了各類方法,升級 sudo gem update --system 沒法解決spa

最後嘗試  sudo gem install -n /usr/local/bin compass 成功了!compass 安裝比ruby,sass 什麼都麻煩多了,各類沒權限。code

,Successfully installed compass-1.0.3
Parsing documentation for compass-1.0.3
Installing ri documentation for compass-1.0.3
相關文章
相關標籤/搜索