Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

sass @import "compass/reset" error

I'd like to use Sass with Compass on my static HTML project, but following the instructions does not work. This is what I did:

$ gem install compass
$ cd <myproject>
$ compass install compass .

which was following by awaiting:

directory ./sass/
directory ./stylesheets/
   create ./sass/screen.scss 
   create ./sass/print.scss 
   create ./sass/ie.scss 
   create ./stylesheets/screen.css 
   create ./stylesheets/ie.css 
   create ./stylesheets/print.css 

But when I start watching scss sass --watch sass:stylesheets, I get an error:

error sass/screen.scss (Line 6: File to import not found or unreadable: compass/reset.

This msg coherent with @import "compass/reset";

What do I have to do on my Ubuntu to see that compass imports?

like image 816
palmic Avatar asked Jun 03 '11 15:06

palmic


1 Answers

Use compass watch instead of sass --watch sass:stylesheets. If you're using compass, you don't need to bother with sass command. Just use the compass command.

like image 187
htanata Avatar answered Oct 19 '22 06:10

htanata