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

Trouble fetching test.scss file

Having trouble fetching the test.scss file I created on my desktop? Kimberlys-MacBook-Pro-2:~ Kim$ gem install sass Fetching: sass-3.4.1.gem (100%) Successfully installed sass-3.4.1 Parsing documentation for sass-3.4.1 Installing ri documentation for sass-3.4.1 Done installing documentation for sass after 3 seconds 1 gem installed Kimberlys-MacBook-Pro-2:~ Kim$ sass test.scss Errno::ENOENT: No such file or directory @ rb_sysopen - test.scss Use --trace for backtrace. Kimberlys-MacBook-Pro-2:~ Kim$

5 Answers

Kevin Korte
Kevin Korte
28,149 Points

I don't think you're at the desktop level.

Try cd ~/Desktop in the command line first

Than try fetching your Sass file.

Nicole Tamminga
Nicole Tamminga
18,741 Points

I had the same issue of not being able to get my command line to read the Sass file and this worked for me. Thank you, Kevin.

Hi again!

I'd recommend that you take the Console Foundations course before proceeding with learning Sass. It'll teach you the basics about how to work with a command line interface.

Or, if you want to get started with Sass without using the Terminal, a Google search for a Sass GUI should point you in the right direction.

woohoo! I'm clearly still learning. Thanks a bunch, Kevin!

Kevin Korte
Kevin Korte
28,149 Points

No problem. I'm still learning too! Especially when it comes to the terminal. A quick unstuck is always nice, but the other suggestions from Ryan and Ben are great solutions too!

Benjamin Harrison
Benjamin Harrison
10,958 Points

You can run "sass -v" to double check your sass version. If you get an error from that then you might need to double check that sass is in your path. Run "ls" to verify that test.scss is located in your current directory. I haven't used a Mac in a while but it seems like your terminal might be in /home not /desktop. You can always use the "pwd" command to check the full path to your current location. But if you are in the directory of test.scss AND sass -v works. Then I'm not sure.

Thanks Ryan. Will do!