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

Working with Sass Libraries - "subl ." command not found

Hello all:

http://teamtreehouse.com/library/sass-basics/speeding-up-workflow-with-sass/working-with-sass-libraries-2

At 4:34 in the video, the instructor, Hamption Catlin said, "So i'm going to use Sublime's project interface...you're not familiar with that." Then continue with his lesson without explaining the "subl ." command. Well, he was right because i didn't get any farther than that.

Can someone please explain to me why isn't the terminal taking the "subl ." command? Below is what I wrote:

Vinhs-MacBook-Pro:Desktop vvu$ sudo gem install bourbon Successfully installed bourbon-3.1.8 Parsing documentation for bourbon-3.1.8 1 gem installed Vinhs-MacBook-Pro:Desktop vvu$ bourbon install Bourbon files installed to bourbon/ Vinhs-MacBook-Pro:Desktop vvu$ touch main.scss Vinhs-MacBook-Pro:Desktop vvu$ subl . -bash: subl: command not found

Thanks! :)

subl will launch sublime from mac prompt

2 Answers

So what it's saying is that the shell can't find the "subl" command, likely because the command is linked incorrectly or not in your $PATH. Please review the Sublime Text article about this http://www.sublimetext.com/docs/2/osx_command_line.html

Thank you, Paul

You were right that I didn't have a ~/bin directory in my path, so I googled, which took me to stackoverflow.com for the next step.

Just in case if anybody else run into this same problem with adding ~/bin to your path. Here's the link:

http://stackoverflow.com/questions/10767738/how-do-i-add-bin-to-my-path/12249041#12249041?newreg=3431e1d48b994a8a8c7885013069f830