美文网首页工具癖
Install Compass on Mac OS X

Install Compass on Mac OS X

作者: NicolasWan | 来源:发表于2016-09-02 13:35 被阅读0次

    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
    

    相关文章

      网友评论

        本文标题:Install Compass on Mac OS X

        本文链接:https://www.haomeiwen.com/subject/ujlhettx.html