Textmate with JRuby

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:inrun’ from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RubyMate/run_script.rb:65

Regards,
Johannes

Joe Hannes wrote:

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:inrun’ from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RubyMate/run_script.rb:65

Regards,
Johannes

fyi

Just recieved an answer to my question from the Textmate mailing List of
the Textmate developer:

"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."

Would have been nice …

Regards,
Johannes

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs