# Q: TextMate support for JRuby?

**URL:** <https://www.ruby-forum.com/t/q-textmate-support-for-jruby/107087>\
**Category:** Ruby\
**Created:** [June 18, 2007, 1:40am UTC](https://www.ruby-forum.com/t/q-textmate-support-for-jruby/107087 "2007-06-18T01:40:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marksbrain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/6bbea6/32.png) [@marksbrain](https://www.ruby-forum.com/u/marksbrain)\
**Post date:** [June 18, 2007, 1:40am UTC](https://www.ruby-forum.com/t/q-textmate-support-for-jruby/107087/1 "2007-06-18T01:40:32Z")

</div>

I have been having fun with JRuby (a few days ago I got a simple Rails  
app running under JBoss with little trouble and a few hours ago I  
added a JRuby + Lucene article to my blog:  
[Using Lucene with JRuby](http://markwatson.com/blog/2007/06/using-lucene-with-jruby.html))

My question: does anyone have a TextMate bundle for JRuby? I spent a  
little time on this myself and could not get it working (I use  
TextMate a lot, but have no experience with custom bundles). I could  
not find anything searching the web.

Thanks in advance for any pointers!

---

<div class="post-metadata">

**Author:** ![marksbrain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/6bbea6/32.png) [@marksbrain](https://www.ruby-forum.com/u/marksbrain)\
**Post date:** [June 18, 2007, 7:59pm UTC](https://www.ruby-forum.com/t/q-textmate-support-for-jruby/107087/2 "2007-06-18T19:59:50Z")

</div>

On Jun 18, 2007, at 12:42 PM, Nick S. wrote:

> It looks like if you set TM\_RUBY to the location of JRuby, TextMate  
> would  
> use JRuby – except I’m not sure of the best way to customize the  
> value of  
> TM\_RUBY – maybe you can ask on the TextMate list.

The Advanced section of the Preferences has an interface for setting  
these variables.

James Edward G. II

---

<div class="post-metadata">

**Author:** ![marksbrain](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/6bbea6/32.png) [@marksbrain](https://www.ruby-forum.com/u/marksbrain)\
**Post date:** [June 18, 2007, 7:43pm UTC](https://www.ruby-forum.com/t/q-textmate-support-for-jruby/107087/3 "2007-06-18T19:43:48Z")

</div>

On 6/17/07, Mark W. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> I have been having fun with JRuby (a few days ago I got a simple Rails  
> app running under JBoss with little trouble and a few hours ago I  
> added a JRuby + Lucene article to my blog:  
> [Using Lucene with JRuby](http://markwatson.com/blog/2007/06/using-lucene-with-jruby.html))
> 
> My question: does anyone have a TextMate bundle for JRuby? I spent a  
> little time on this myself and could not get it working (I use  
> TextMate a lot, but have no experience with custom bundles). I could  
> not find anything searching the web.

Do you mean being able to launch JRuby on your Ruby files from within  
TextMate (i.e., RubyMate)? Otherwise, everything else should just work  
as  
in Ruby mode. I myself use TextMate with JRuby, although I usually just  
invoke JRuby from the command line.

It looks like if you set TM\_RUBY to the location of JRuby, TextMate  
would  
use JRuby – except I’m not sure of the best way to customize the value  
of  
TM\_RUBY – maybe you can ask on the TextMate list.

Cheers,  
/Nick
