[TxMt] Ruby bundle Ruby 1.9 compatibility
Adam Strzelecki
ono at java.pl
Thu May 1 20:48:10 UTC 2008
Hi,
I'm not sure whether somebody has asked this before, but what is the
current status of Ruby bundle compatibility with 1.9, at least for
execution in TM preview window?
I'm trying to execute simple ruby script with ⌘R:
> #!/usr/local/bin/ruby-1.9
> puts "Ala ma kota".reverse
I get:
> RubyMate r8136 running Ruby r1.9.0 (/usr/local/bin/ruby-1.9) >>>
> test.rb
> :0:in `require': /Applications/TextMate.app/Contents/SharedSupport/
> Bundles/Ruby.tmbundle/Support/RubyMate/catch_exception.rb:13:
> invalid multibyte char (SyntaxError)
> /Applications/TextMate.app/Contents/SharedSupport/Bundles/
> Ruby.tmbundle/Support/RubyMate/catch_exception.rb:13: invalid
> multibyte char
> /Applications/TextMate.app/Contents/SharedSupport/Bundles/
> Ruby.tmbundle/Support/RubyMate/catch_exception.rb:13: syntax error,
> unexpected $end, expecting ')'
> ...ML e.message.sub(/`(\w+)'/, '‘\1’').sub(/ -- /, ' — ')...
> ... ^
> Program exited.
AFAIK 1.9 is getting closer towards stable release, so the final
syntax, and for sure it is much faster than 1.8, so for executing some
simple tasks but time consuming tasks it may be a good alternative to
1.8.
Cheers,
--
Adam Strzelecki |: nanoant.com :|
More information about the textmate
mailing list