Answer the question
In order to leave comments, you need to log in
SASS. the console does not define the gem install sass command. What am I doing wrong?
After installing ruby, I open the console and write gem install sass. The following appears in the console:
"gem" is not recognized as an internal or external command, operable program, or batch file.
There is a suspicion that I did something wrong).
Answer the question
In order to leave comments, you need to log in
From the description you are using Windows?
Downloading Ruby I'm using Ruby 1.9.3-p545 for version 2 there are still many gems not ported, and immediately download the DEVELOPMENT KIT for the selected version of Ruby, required for some gems.
Install Ruby and see that the "Path" checkbox is checked during the installation process, if you forgot, then right-click on "Computer" - "Properties" - "Advanced system settings" - on the additional tab, click "Environment Variables" - select the line Path and click edit, add a semicolon to the path to ruby, I have: C:\Ruby193\bin;
After that, ruby will be available from the command line.
Next, unpack the dev kit, I made a Devkit folder in the Ruby folder and shoved it there, in ruby cmd or let's say I use the shell that comes with git (mingw32), go to the devkit folder and write ruby dk.rb init, it will be created config.yml file, then write ruby dk.rb install and that's it, the dev kit will be installed.
Then everything is simple: gem install sass compass
Well, you don't have RubyGem installed
https://rubygems.org/pages/download
Fesor, I installed compass and sass with your help.
now I create a folder, go there through the console, write "compass init" and give the following: "sass already exists and is not a directory".
Can you suggest what is the problem?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question