Compass and SASS: nothing to compile an error

I'm so tired of this problem right now. I have put off trying so many times to achieve this. I feel that this is my last attempt to decide what is wrong. Here:

I install a compass

sudo gem update --system sudo gem install compass 

I create my test project (named test)

 compass create test 

It generates this

 directory test/ directory test/sass/ directory test/stylesheets/ create test/config.rb create test/sass/screen.scss create test/sass/print.scss create test/sass/ie.scss 

I am trying to compile a project

 compass compile [path/to/test] 

All I get is the error message: "Do not compile anything. If you are trying to start a new project, you left the directory argument."

I am trying to solve a Google problem, but I cannot find anything to help me. Does anyone here know what is going on? Did I miss something important?

Im running OSX 10.6.8

+4
source share
3 answers

Check if you have special characters in your file path. I had a "[" and "]" wrapping a directory name. This seems to make the compass suffocate. Removing my fixed issues.

Seeing that there are many different scenarios that lead to the same error message, it would seem that some additional information in the debug output might be useful. I spent a couple of hours on this, thinking that this is my config.rb file! Oh well, hope this post saves someone else some time.

+16
source

The absence of config.rb causes the same error. Create a minimum in your base sass directory containing only

 sass_dir = '.' 
+5
source

Check the paths in the config.rb file carefully. This error can be caused by any error in the path definitions that lead to a directory that does not exist.

+2
source

All Articles