How do I get Textmate to use MacRuby?
问题 So, how do I get Textmate to use MacRuby, a branch of 1.9.2, instead of the default Ruby in OSX, 1.8.7? 回答1: Simpler answers: Install MacRuby Go to TextMate->Preferences->Advanced->Shell Variables and add a variable named TM_RUBY set to /usr/local/bin/macruby . Alternatively, edit the PATH variable to include /usr/local/bin/ and just set TM_RUBY to macruby . If you have installed MacRuby through RVM, then instead: Generate stable wrapper: rvm wrapper macruby-0.8 macruby # creates ~/.rvm/bin