2011-11-22 29 views
1

我需要TextMate的幫助。我安裝了它,並且想要在其中編譯Groovy(這似乎特別適合嘗試)。我安裝了Groovy bundle,但它不起作用。它抱怨:TextMate&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變量中,我甚至將它添加到系統路徑中,但根本沒有任何幫助。

請幫忙。

+0

將此問題發送到http://apple.stackexchange.com您可能會更幸運 – HeDinges

+0

計算機上是否存在/Applications/groovy-1.8.4/bin? – blackdrag

+0

是的,groovy在哪裏? – romainl

回答

4

需要明確的是,你應該點擊的TextMate>首選項>高級>殼牌變量

然後添加一個名爲「TM_GROOVY」取值爲「/Applications/groovy-1.8.4/bin/groovy」

不知道爲什麼,但對於我的實例,我實際上有'.../groovy'明確指定。