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

Michael Bredthauer
Michael Bredthauer
13,429 Points

problems running scout for Sass

I just installed Sass on my mac and then installed Scout so I wouldn't have to mess with the command line, when I try to use it, it tells "To view this content you need to install Java Runtime Environment. I do that and when I try again, even after restarting everything it still asks me. What am I doing wrong?

1 Answer

Sander de Wijs
PLUS
Sander de Wijs
Courses Plus Student 22,267 Points

I think you need to have Java runtime installed on your Mac before installing Scout. You can try removing scout and install it again.

But I would definitely reccommend getting familiar with the commandline in the end. I started out using Prepros for compiling Sass. After getting to know the commandline though, I never used Prepros again. It's really just as easy.

The command line also has it's advantages later on when you start automating your workflow with Grunt and managing project dependencies with Bower.

Michael Bredthauer
Michael Bredthauer
13,429 Points

I would love to do that, my problem with that is when using MAMP my files are in the htdocs folder and for some reason I cannot get my terminal to that directory since the application is outside of path. Its hard to explain, but my terminal opens up already with the path user/macbook/ and the applications folder with MAMP is outside the user path. How do I get there?

Sander de Wijs
Sander de Wijs
Courses Plus Student 22,267 Points

There is a shortcut for opening the terminal directly in a folder since OS Lion. You can command-click on any folder, like your project dorectory, and choose to open a terminal there. After that, type 'compass watch' and Sass will watch your files for changes.

You need to enable this option first, by going to System Preferences > Keyboard > Keyboard Shortcuts > Services. Then enable 'New terminal at folder'. This saves you some time navigating by the command line.