Hi there,
does anyone uses succesfully Textmate with JRuby. Setting TM_RUBY = <JRUBY_HOME>/bin/jruby seems to fail in my case. Hitting cmd-r prints:
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/process.rb:99:in `run': JRuby only supports F_SETFL and F_GETFL with NONBLOCK for fcntl/ioctl (NotImplementedError) from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/executor.rb:84:in `run' from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RubyMate/run_script.rb:65
Regards, Johannes
On 11 Aug 2009, at 11:30, digduck@gmx.net wrote:
does anyone uses succesfully Textmate with JRuby. Setting TM_RUBY = <JRUBY_HOME>/bin/jruby seems to fail in my case. Hitting cmd-r prints:
You can’t use jruby as a drop-in replacement due to compatibility issues (like the one you see).
You can however use jruby in the shebang of your own ruby scripts and ⌘R will use that interpreter for your script.