Trying to work on JRuby with TextMate.
A:
http://github.com/drnic/ruby-tmbundle
set the TM_RUBY to /usr/local/bin/jruby or where every you have jruby installed
Aaron Saunders
2010-07-15 01:46:45
Thanks.. will do
Greg
2010-07-26 18:02:03
A:
While setting TM_RUBY tells TextMate to run JRuby where Ruby is run, it is not going to be a very pleasant experience.
TextMate relies so much of its functionality on Ruby. For example, ⌘-R in a Ruby source won't work. Other bundles may fail if they run Ruby code (and there are many).
If you just want to run the current file with JRuby and return output somewhere (not the pretty window that TextMate gives), you can use $TM_FILENAME and so on to build your own command.
banzaiman
2010-07-15 04:50:11