Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

CSS

Zack Bostian
Zack Bostian
5,216 Points

CSS to SaSS workspace issues.

I am following the CSS to SASS course through workspace, however, I am running into an issue where the sass --watch sass:css command gives me this error:

treehouse:~/workspace$ sass --watch _style.scss:style.css
/usr/local/lib/ruby/2.2.0/rubygems/dependency.rb:315:in to_specs': Could not find 'sass' (>= 0) among 6 total gem(s) (Gem::LoadError) Checked in 'GEM_PATH=/home/treehouse/.local/gems', executegem envfor more information from /usr/local/lib/ruby/2.2.0/rubygems/dependency.rb:324:into_spec' from /usr/local/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb:64:in gem' from /usr/local/bin/sass:22:in<main>'

What does this error mean? I'd really love to do this course as I want to practice refactoring my projects css to sass!

11 Answers

Guil Hernandez
STAFF
Guil Hernandez
Treehouse Teacher

Hi everyone,

This has been resolved. You're now able to run any sass --watch command in the console and enjoy the wonders of Sass. :)

Guil Hernandez
STAFF
Guil Hernandez
Treehouse Teacher

As a temporary workaround, it looks like if you run gem install sass in the Workspace console, then sass --watch scss:css it won't return the error.

I'll update you when it's completely fixed.

It's confirmed, problem solved :)

Caroline Hagan
PLUS
Caroline Hagan
Courses Plus Student 12,453 Points

I'm not fully versed in the realm of Sass or Ruby myself, however having a bit Google it may relate to the setup you have on your computer ... are you using Windows or Mac? Are you using any particular software? This would greatly help troubleshoot this for you Zack Bostian

Zack Bostian
Zack Bostian
5,216 Points

I am using windows and I also am using Ruby Version 2.1.7 64x

Hi. I'm having the same problem. I saw Caroline Hagan answer, and I was a bit puzzled; if Sass is running inside the Workspaces terminal ─ which is web served ─ what does the computer configuration have to do with it?

Caroline Hagan
Caroline Hagan
Courses Plus Student 12,453 Points

Ah I see what you mean, I thought this was a setup on his own computer, not Workspaces. My apologies

Caroline Hagan
PLUS
Caroline Hagan
Courses Plus Student 12,453 Points

If it is a Workspaces issue, I'd suggest reporting it to the Help/Support team .. it could be a bug they might need to address, but better for them to look into it, instead of us guessing.

Pragmatic Web Limited
Pragmatic Web Limited
3,909 Points

Did anyone find an answer to this? I'm having exactly the same problem! Thanks

I just moved on and finished that course without replicating the coding on Workspaces.

Pragmatic Web Limited
Pragmatic Web Limited
3,909 Points

Thanks for letting me know Pedro, weird isn't it. I emailed support to try to find a resolve, but might have to follow your lead otherwise

I think it's the best thing to do. It seems the issue isn't going away any time soon, and there's no point in getting stuck on account of it. It's a pity, though.

Pragmatic Web Limited
Pragmatic Web Limited
3,909 Points

Indeed it is, oh well! Thanks again for your help

Guil Hernandez
STAFF
Guil Hernandez
Treehouse Teacher

Hey there,

Our Workspaces team is aware of the issue and getting it fixed ASAP. I'll let you know as soon as it's fixed. :)

Guil