Why can't I install Sass on Mac OS Sierra?

后端 未结 3 2110
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-30 16:35

I have tried installing Sass three times on Mac OS Sierra(10.12) from the terminal typing the following code:

sudo gem install sass

Then it

相关标签:
3条回答
  • 2020-12-30 17:15

    I had the exact same issue but found a solution for a similar thread on Compass.

    You might need to install the developer tools first by entering the following on the command line:

    xcode-select --install
    

    Then try

    sudo gem install sass
    

    It worked for me and I am now running Sass 3.5.1 (Bleeding Edge)

    0 讨论(0)
  • 2020-12-30 17:18

    I used to have the same problem installing the Sass.
    After installing Xcode with

    xcode-select --install  
    

    I agree the license with

    sudo xcodebuild -license  
    

    and finally run the app Xcode and finished installing.
    After that I write sudo gem install sass and it works.

    0 讨论(0)
  • 2020-12-30 17:22

    Buddy,

    I just now faced the same problem exactly same.

    $ brew install ruby
    

    make sure homebrew is installed on your PC then I did

    $ sudo gem install sass
    

    The installation took place

    $ sass -v
    Sass 3.5.1 (Bleeding Edge)
    

    Hope it helps you too..

    0 讨论(0)
提交回复
热议问题