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:

~/Desktop/LessSass/CH4>sass --update var_styles.scss

Here is the response
-bash: /Users/myname/Desktop/LessSass/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.
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Eoin OSullivanConsultantCommented:
First change your root directory to the target directory as follows
cd ~/Desktop/LessSass/CH4

Open in new window

then run the sass compiler
sass --update var_styles.scss

Open in new window

Do you still get errors?

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
LT1415Author Commented:
That's it! Thanks. I thought I had already navigated to to directory but noooooo.
LT1415Author Commented:
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
Get Blueprints for Increased Customer Retention

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

Eoin OSullivanConsultantCommented:
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.
LT1415Author Commented:
Thank you I meant to assign the points. I am fumbling up just about everything today.
Eoin OSullivanConsultantCommented:
No sweat. It happens.
Eoin OSullivanConsultantCommented:
In terms of the original command ...
cd ~/Desktop/LessSass/CH4 && sass --update var_styles.scss 

Open in new window

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
LT1415Author Commented:
Duly noted! thank you....I am hours old in SASS and the command line
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Apple OS

From novice to tech pro — start learning today.