问题
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:
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.
来源:https://stackoverflow.com/questions/13712801/how-to-configure-compass-build-with-rbenv-in-sublime-text-2