我试图在Windows上运行Cygwin的Grunt SASS任务。我不断收到此错误:SASS与Grunt的安装问题
[email protected] ~/Projects/Resview
$ grunt
Running "uglify:build" (uglify) task
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.
Aborted due to warnings.
所以我只是在网上搜索并试图做下面的解决我的问题:
[email protected] ~/Projects/Resview
$ gem install sass
Successfully installed sass-3.4.22
Parsing documentation for sass-3.4.22
Done installing documentation for sass after 6 seconds
1 gem installed
很不幸,这给了我同样的消息,然后我把这个在我的道路变量按照指令here并通过使用命令提示全局安装。然而,这仍然给了我同样的信息。
我错过任何让SASS工作的东西吗?我认为我遵循了所有必要的步骤,似乎无法弄清楚问题所在。
编辑:我可以证实,红宝石已经安装
不要忘记红宝石! – fucethebads
我已经安装了红宝石 – ShreyKumar
会使用[grunt-sass](https://github.com/sindresorhus/grunt-sass)作为您的选项吗? – cartant