Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS Sass Basics (retired) Getting Started with Sass Installing and Using Sass

sass test.scss not running in my cmd

I already had ruby installed so i just installed sass as a gem right away and created a file in sublime 2 but it wont show up when i run sass test.scss in my cmd it says error that no directory found. When i save the text.scss where do i save it to? css file?

I know that sass is installed when i type sass --version it prints out the version number

2 Answers

Wade Christensen
STAFF
Wade Christensen
Treehouse Teacher

Where did you save the test.scss file? You will need to cd to that directory. for example:

cd ~/Desktop/Sass

would work if you had the file in a folder on your desktop named Sass.

yes this worked thank you i also had to set up my test.scss file to open with sublime

To get sass to complie your css you could use: sass --watch yoursassfile.scss:yourcssoutputfile.css

in the command line*

in the command line*