0

尝试在 OSX 下使用rbenv和默认的 Compass 构建文件构建 SASS 文件会导致:

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

怎么修?

4

1 回答 1

1

将此添加到您的~/Library/Application Support/Sublime Text 2/Packages/Compass/Compass.sublime-build文件中:

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

您可能需要重新启动 Sublime。

于 2012-12-04T22:06:40.283 回答