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?

manafire
  • 5,984
  • 4
  • 43
  • 53

1 Answers1

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.

manafire
  • 5,984
  • 4
  • 43
  • 53