工具癖

Install Compass on Mac OS X

2016-09-02  本文已影响0人  NicolasWan

Compass is an open-source CSS Authoring Framework.

First, open the terminal app and switch to the root user to avoid permission issues while installing:

sudo su

For Chinese users, you may switch ruby gem source to taobao ruby gem for the sake of connection and installation speed.

For Mac below OS X 10.11 (EI Capitan):

gem install compass [-V]

For Mac OS X 10.11 (EI Capitan) or above:

xcode-select --install
gem install -n /usr/local/bin compass [-V]

Type the following line to check whether successfully installed:

compass -v

Hopefully the following block will be shown:

Compass 1.0.3 (Polaris)
Copyright (c) 2008-2016 Chris Eppstein
Released under the MIT License.
Compass is charityware.
Please make a tax deductable donation for a worthy cause: http://umdf.org/compass
上一篇 下一篇

猜你喜欢

热点阅读