How to resolve “You need to have Ruby and Sass installed and in your PATH for this task to work” Warning?

后端 未结 8 1636
渐次进展
渐次进展 2020-12-07 15:22

I am in the process of setting up a new Mac for work. I have installed Grunt & Grunt CLI globally. Then I did a npm install inside a project folder to insta

8条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-07 15:54

    If you're on OSX El Capitan or Yosemite on Mac there seem to be an issue installing the gem.

    Try

    sudo gem install -n /usr/local/bin sass
    

    Solution was from github.

提交回复
热议问题