尝试使用rbenv在OSX下构建SASS文件,并且默认的Compass构建文件会导致:
/bin/sh: compass: command not found
[Finished in 0.2s with exit code 127]
如何解决?
答案 0 :(得分:1)
将其添加到您的~/Library/Application Support/Sublime Text 2/Packages/Compass/Compass.sublime-build
文件中:
"osx": {
"path": "/usr/local/bin:/Users/USERNAME/.rbenv/shims:$PATH"
},
您可能需要重新启动Sublime。