How to install sass on windows
I cannot install Sass on my machine, although I downloaded ruby โโand typed to cmd:
cd C:/ruby22
then:
gem install sass
but i get the result:
'gem' is not recognized as an internal command, operable program or batch file
how to install it?
+3
user3052507
source
to share
2 answers
- Install ruby โโsee https://github.com/oneclick/rubyinstaller/wiki
- Open a command prompt, click Start, click Run, type cmd, and then click OK.
- Execute
gem install sass
Possibly related to your problem: https://github.com/oneclick/rubyinstaller/wiki/Troubleshooting#not-recognized-as-an-internal-or-external-command-operable-program-or-batch-file
0
Bass Jobsen
source
to share
This is for Windows
- The first step - download the ruby , install it, and then add them to your executable path.
- Now go to the folder where ruby โโwas installed and check if it was installed using the command
ruby -v
. - Then open the folder where you installed ruby โโand install sass with
gem install sass
. - What is it! You are good! If you still have doubts, run
sass -v
it and it will provide you with a version.
For Mac
Just run gem install sass
as Ruby is pre-installed on Mac.
0
Arun
source
to share