Open LorenaGitHub opened 5 years ago
What does console say after this command? ruby -v
Did you try gem install sass
?
I had the same problem and I wrote a post to document it https://www.jesusamieiro.com/you-need-to-have-ruby-and-sass-installed-and-in-your-path-for-this-task-to-work/
You have 2 options, both without Ruby:
npm install --save-dev sass
Invoke grunt from a npm script, since this will allow npm to add to PATH the node modules that expose binaries, like sass.npm install -g sass
Invoke grunt whatever you like.I had the same Issue and I installed Ruby and sass gem, finally I reopen the git console and execute the command and it works!
I had the same issue and solve it.
Steps to install ruby: You have to install ruby from https://rubyinstaller.org/downloads/ Then you have to install rubygems from rubygems https://rubygems.org/pages/download. ( I think this step is optional)
Steps to install sass globally run npm install -g sass
I had the same problem and I wrote a post to document it https://www.jesusamieiro.com/you-need-to-have-ruby-and-sass-installed-and-in-your-path-for-this-task-to-work/
genius! it worked
Grunt I want to compile sass files to CSS, but it will not let me. I have installed ruby and the sass module and it does not work for me.
Originally posted by @LorenaGitHub in https://github.com/gruntjs/grunt-contrib-sass/issues/229#issuecomment-471556450