How to install Sass Gem on Windows

Asked

Viewed 134 times

0

I wanted to install Sass’s Gem so I could compile it on Windows. I installed the normal Ruby Installer and soon after I went to the Sass documentation of how to run it in Windows using console mode, but when I will run the line gem install sass to install the Gem it returns me:

local variable or method 'Sass'

How can I fix this?

1 answer

1

Which version of Rails is using?

Try for the Gemfile:

add the line:

gem 'sass-rails'

then run the command:

bundle install
  • I need to install this Gemfile ? Because I put in the terminal and returned me "Could not find 'Sass-Rails"

  • It is a file that is in the root folder of your project. When you create a new project, this file is already created.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.