LT1415
asked on
Compiling Sass Command Line Mac OS X
I am new to Sass. I believe it is installed correctly on my Mac as when typed the command
sass -v, I received the proper response back at the command line, Sass 3.2.12 (Media Mark).
I have changed the permissions in /Library/Ruby/Gems/ to be read/write.
When I try to compile my scss file with the update command, all I get back in the terminal services window is a response confirming the directory name:
Example:
~/Desktop/LessSass/CH4>sas s --update var_styles.scss
Here is the response
-bash: /Users/myname/Desktop/Less Sass/CH4: is a directory
My Library/Ruby/Gems.2.0 folder and my LessSass folder have write enabled on them, so I don't know what I am doing wrong. I am not getting any errors back. I can't seem to get the files to compile at the command line.
Thank you.
LT
sass -v, I received the proper response back at the command line, Sass 3.2.12 (Media Mark).
I have changed the permissions in /Library/Ruby/Gems/ to be read/write.
When I try to compile my scss file with the update command, all I get back in the terminal services window is a response confirming the directory name:
Example:
~/Desktop/LessSass/CH4>sas
Here is the response
-bash: /Users/myname/Desktop/Less
My Library/Ruby/Gems.2.0 folder and my LessSass folder have write enabled on them, so I don't know what I am doing wrong. I am not getting any errors back. I can't seem to get the files to compile at the command line.
Thank you.
LT
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I've requested that this question be closed as follows:
Accepted answer: 0 points for LT1415's comment #a39744851
for the following reason:
This resolved my problem.
Take each command in steps
Accepted answer: 0 points for LT1415's comment #a39744851
for the following reason:
This resolved my problem.
Take each command in steps
I could see your command line was wrong. That's why I suggested you split it to be sure all was ok.
If you want I can correct the command too but you should allocate points for the answer not close it yourself as you didn't provide a solution.
If you want I can correct the command too but you should allocate points for the answer not close it yourself as you didn't provide a solution.
ASKER
Thank you I meant to assign the points. I am fumbling up just about everything today.
No sweat. It happens.
In terms of the original command ...
The above line will run the two commands one after another
cd ~/Desktop/LessSass/CH4 - changes the directory to CH4
sass --update var_styles.scss - executes the sass compiler
cd ~/Desktop/LessSass/CH4 && sass --update var_styles.scss
The above line will run the two commands one after another
cd ~/Desktop/LessSass/CH4 - changes the directory to CH4
sass --update var_styles.scss - executes the sass compiler
ASKER
Duly noted! thank you....I am hours old in SASS and the command line
ASKER