Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I downloaded this package which allows use to build compass in though sublime text by pressing cmd+b.

I created a sass file, made sure compass is selected from the tools > build system > compass menu. But when I press cmd+b the file does not compile and I get no error. I only get [Finished in 0.0s with exit code 1].

However I also tested to build the code with sass (tools > build system > sass) and it works fine. Do I need to do anything to the sass file for compass to work.

Thanks

share|improve this question

1 Answer 1

up vote 1 down vote accepted

I encountered the same issue, and although this question is about a month old now, thought I'd leave my findings here for the next person who finds this question. I suspect that you, like me, may have a different directory structure than is explicitly supported by the SL2 package in question. If config.rb is anywhere other than the project root or in the same directory as the .sass or .scss file, it will fail to build, and because it matches no options, it will provide no output and take a vanishingly small amount of time.

My solution was to add a third statement to the command which checks the parent directory, which I committed to my fork of the plugin and submitted as a pull request.

Hope this helps somebody!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.