Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

You need to have Ruby and Sass installed and in your PATH for this taskto work #250

Open
LorenaGitHub opened this issue Mar 12, 2019 · 6 comments

Comments

@LorenaGitHub
Copy link

LorenaGitHub commented Mar 12, 2019

image
image

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 #229 (comment)

@LorenaGitHub LorenaGitHub changed the title ![image](https://user-images.githubusercontent.com/48281904/54130214-44720780-4410-11e9-8f6a-13212d2e61ef.png) You need to have Ruby and Sass installed and in your PATH for this taskto work Mar 12, 2019
@zsoltjanes
Copy link

What does console say after this command? ruby -v
Did you try gem install sass?

@amieiro
Copy link

amieiro commented Aug 21, 2019

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/

@silviuburceadev
Copy link

silviuburceadev commented May 20, 2020

You have 2 options, both without Ruby:

  1. Sass as dev dependency 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.
  2. Sass installed globally npm install -g sass
    Invoke grunt whatever you like.

@jsebastianmr
Copy link

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!

@carlosaraujogonzalez
Copy link

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

image

@vlrprbttst
Copy link

vlrprbttst commented Jul 31, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants