文本伴侣格罗维

发布于 2024-12-17 05:33:34 字数 1052 浏览 0 评论 0原文

我需要有关 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

煞人兵器 2024-12-24 05:33:34

为了清楚起见,您应该单击 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文