[TxMt] Can TextMate::UI.alert etc. be used with the ruby20 shim?

Stefan Daschek stefan at daschek.net
Sat Aug 20 10:19:44 UTC 2016

Following up on 
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?


More information about the textmate mailing list