TextMate 2 – Couldn’t find groovy

If you get following message:

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)

Make sure to provide location of groovy file in TextMate 2 via Preferences -> Advanced.

However, make sure that you provide full path to “groovy” binary – not just it’s location.

It can look like this: “/Users/user_name/groovy/groovy-2.0.1/bin/groovy”

Comments (3)

anonymousDecember 29th, 2012 at 7:02 am

Hi,
I am new to mac and trying to get this working and using GVMTool. I have defined a TM_GROOVY variable that points to the ‘current’ groovy bin but still getting the same error. Any suggestions?

anonymousDecember 29th, 2012 at 11:39 am

Hello Mike,

I am not aware of GVMTool – I haven’t used it yet.

anonymousJune 14th, 2013 at 8:19 am

Same problem here,
GVM stores groovyConsole in $HOME/.gvm/groovy/current/bin
If I set the TM_GROOVY variable to this path, I still get “couldn’t find groovyConsole”
Is there something else I need to do?groovyConsole