我需要TextMate的帮助。我安装了它,并希望在其中编译Groovy (它似乎很方便,尤其是对于尝试一些东西)。我安装了Groovy包,但它不工作。它抱怨的是:
Couldn't find /Applications/groovy-1.8.4/bin
If you have installed groovy, then you need to either update your PATH or set the
TM_GROOVY shell variable (e.g. in Preferences / Advanced)
Locations searched:
/Users/meir/Library/Application Support/TextMate/Pristine Copy/Bundles/Groovy.tmbundle/Suppor
/bin
/Applications/TextMate.app/Contents/SharedSupport/Support/bin/CocoaDialog.app/Contents/MacOS
/Users/meir/Library/Application Support/TextMate/Pristine Copy/Bundles/Groovy.tmbundle/Support
/bin
/Applications/TextMate.app/Contents/SharedSupport/Support/bin/CocoaDialog.app/Contents/MacOS
/usr/bin
/bin
/usr/sbin
/sbin
/Applications/groovy-1.8.4/bin
/Applications/grails-1.3.7/bin
/Applications/TextMate.app/Contents/SharedSupport/Support/bin
/Applications/TextMate.app/Contents/SharedSupport/Support/bin我试着做所有的事。我在设置中添加了TM_GROOVY的路径(/Applications/groovy-1.8.4/bin),在相同的设置中添加了path变量,我甚至将它添加到了系统路径中,但没有任何帮助。
请帮帮忙。
发布于 2011-12-27 01:06:12
为清楚起见,您应该单击TextMate >首选项>高级> Shell变量
然后添加一个名为'TM_GROOVY‘的变量,其值为'/Applications/groovy-1.8.4/bin/groovy’
不知道为什么,但对于我的实例,我实际上已经显式地指定了'.../groovy‘。
https://stackoverflow.com/questions/8227034
复制相似问题