How to configure Compass build with rbenv in Sublime Text 2?

人走茶凉 提交于 2019-12-12 03:31:05

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!