0

Trying to build a SASS file under OSX with rbenv and the default Compass build file results in:

/bin/sh: compass: command not found
[Finished in 0.2s with exit code 127]

How to fix?

1 Answer 1

1

Add this to your ~/Library/Application Support/Sublime Text 2/Packages/Compass/Compass.sublime-build file:

"osx": {
    "path": "/usr/local/bin:/Users/USERNAME/.rbenv/shims:$PATH"
},

You may have to restart Sublime.

1
  • Instead of /Users/USERNAME you can use {HOME}. Jul 19, 2013 at 16:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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