文本伴侣格罗维
我需要有关 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
我尽力做了一切。我在设置中将路径(/Applications/groovy-1.8.4/bin)添加到 TM_GROOVY,在相同的设置中添加到 PATH 变量,我什至将其添加到系统路径,但没有任何帮助。
请帮忙。
I need help with TextMate. I installed it and want to compile Groovy within it (it seems convenient especially for trying things). I installed Groovy bundle but it doesn't work. It complains about:
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
I tried to do everything. I added path (/Applications/groovy-1.8.4/bin) to TM_GROOVY in settings, add to PATH variable in the same settings and I even added it to the system path but no help at all.
Please help.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为了清楚起见,您应该单击 TextMate >首选项>高级> Shell 变量
然后添加一个名为“TM_GROOVY”的变量,其值为“/Applications/groovy-1.8.4/bin/groovy”。
不知道为什么,但对于我的实例,我实际上明确指定了“.../groovy”。
To be clear you should click on TextMate > Preferences > Advanced > Shell Variables
Then add a Variable named 'TM_GROOVY' with the value being '/Applications/groovy-1.8.4/bin/groovy'
Not sure why but for my instance I actually have '.../groovy' specified explicitly.