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

General Discussion

Jeesun Kim
Jeesun Kim
4,866 Points

Help with Terminal. It won't install Sass

I am using a Mac 10.6.8 and I have a hard time with Terminal. For instance, I have been trying to install Sass by using: gem install sass. At first it seemed like it was installing but when I double checked by typing "sass -v," it didn't return "Sass 3.2.12 (Media Mark)".

I will appreciate any help. Thank you!

6 Answers

James Barnett
James Barnett
39,199 Points

What happens when you enter

ruby -v
gem -v

commands in your terminal?

I'm betting since you're on 10.6 you're using a third party Ruby version. Probably what's happening is your path is not set correctly and the system ruby is being used instead.

Marcus Tisäter
Marcus Tisäter
4,886 Points

Try install it with

sudo gem install sass
Eric Tirado
seal-mask
.a{fill-rule:evenodd;}techdegree
Eric Tirado
iOS Development Techdegree Student 7,036 Points

Ok. This helped me install sass. Not sure why it's not installing for the user by default.

sudo gem install -n /usr/local/bin GEM_NAME_HERE
Sam Donald
Sam Donald
36,305 Points

I can get it either.

Here's my msg:

ERROR:  Could not find a valid gem 'sass' (>= 0), here is why:
          Unable to download data from https://rubygems.org/ - bad response Not Found 404 (https://rubygems.global.ssl.fastly.net/latest_specs.4.8.gz)