“The TMTOOLS
plug-in is a conglomeration of shell commands which provide the user with advanced functionality to interact with TextMate.”
Information here:
Download git for osx
mate : allows command line access to TextMate.
RubyAmp how to install here
Note TextMate is an editor, NOT an IDE. So it does not have method autocomplete for example. This may be a problem.