您需要安装Ruby和Sass并在PATH中才能完成此任务

时间:2015-08-27 21:17:07

标签: ruby terminal sass gruntjs local

我安装了ruby和sass但是当我尝试运行下面的命令时出现错误。

$ grunt sass
Running "sass:dist" (sass) task
Warning:
You need to have Ruby and Sass installed and in your PATH for this task to work.
More info: https://github.com/gruntjs/grunt-contrib-sass
 Use --force to continue.

因警告而中止。

我已尝试重新安装,但我完全不确定如何解决此问题

1 个答案:

答案 0 :(得分:1)

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