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