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

Compass is buggy?

I’m not sure if I am doing something wrong or Compass is buggy, but I have had nothing but problems. This latest problem has me stumped. If I include

@import "compass/utilities";

like is shown in the video I get

Errno::ENOENT: No such file or directory - C:/Users/jpetersen1/Desktop/CompassTesting/my-prj/.sass-cache/75fcaf1b4852ceb732871195e41567cc2a7d8997/C%058%092Ruby200-x64%092lib%092ruby%092gems%0922.0.0%092gems%092compass-core-1.0.1%092stylesheets%092compass%092reset%092_utilities.scssc20140821-6900-13s4717

But if I include

@import "compass/utilities/general/float";

Then it compiles correctly.

I suspect that this is a problem related to running on windows, because I can’t find any information about this problem.

It seems like it is looking for a _utilities.scss file, but utilities is a directory. Maybe somewhere there is a configuration file for setting the syntax, but I can’t find it.

Any information about this issue would be helpful. Also does anyone else here use Ruby, Sass, Compass on Windows? If so, does it run slow and fall on its face a lot, or is it just me. I really like the idea of Sass and Compass but in the last week it has been one problem after another.

2 Answers

James Barnett
James Barnett
39,199 Points

Also does anyone else here use Ruby, Sass, Compass on Windows?

I'd recommend you use an app to install Sass on Windows

I've heard good things about prepros, it comes with Ruby, Sass and Compass.

Thank you for the response. While that was not the problem using Prepos gave me a better stack trace and I was able to narrow down the issue. Something inside

require 'compass/import-once/activate'

Was causing the compiler to fail. I removed it and it is working now. Prepos does seem like a good tool, Scout(which was recommended in the video) is written with Adobe Air. It is very laggy. I will probably be using Prepos or the comman line from now own. Thank you.