The Ruby code in bundle support has never been verified to work on anything else than Ruby 1.8.
--
/Jacob Carlborg
> On 20 aug 2016, at 12:19, Stefan Daschek
stefan@daschek.net wrote:
>
> Following up on
https://github.com/noniq/Markdown-MathJax.tmbundle/commit/6d003d9c9808acc954... I created a very simple test script:
>
> #!/usr/bin/env ruby20
> require "#{ENV['TM_SUPPORT_PATH']}/lib/ui"
> TextMate::UI.alert(:warning, 'Title', 'Message', 'OK')
>
> Running this gives an “ArgumentError: An object in the argument tree could not be converted” in method to_plist in ui.rb at line 54.
>
> If I change the script to use the `ruby18` shim, it works as intended.
> Is this expected behaviour or am I doing something wrong?
>
>
> Stefan
>
> _______________________________________________
> textmate mailing list
> textmate@lists.macromates.com
>
http://lists.macromates.com/listinfo/textmate