Gradle TextMate Bundle

Hi everyone,

I am pleased to make the Gradle bundle for TextMate, the Mac OS text editor available.

https://github.com/gradle/gradle.tmbundle

I’ve been using this for a little while now and have found it very useful for my projects and for working on Gradle itself.

It’s a GitHub project so pull requests and feature requests welcomed!

Will definitely have a look at it. Some month ago, I’ve created a tiny bundle for gradle too (http://www.practicalgradle.org/blog/2011/02/running-gradle-from-textmate/)

Thanks for this, Luke. I just gave it a try, perhaps I’m misbehaving, but I get an error doing something like this:

"git branch".execute().text

The bundle’s run window reports:

Cause: Cannot run program "git": error=2, No such file or directory
Caused by: java.io.IOException: error=2, No such file or directory

Hi Merlyn,

You are likely hitting: http://manual.macromates.com/en/shell_commands#search_path

In short, TextMate does not inherit your shell environment so git is likely not on your path.