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

Allan Odgaard mailinglist at textmate.org
Sun Aug 21 10:00:04 UTC 2016


On 20 Aug 2016, at 12:19, Stefan Daschek wrote:

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

We have our binary plist extension for ruby 1.8 which does not work with 
2.0.

I think we can switch to https://github.com/ckruse/CFPropertyList and 
then add a compatibility layer for the old plist API.

There might be other issues with the current ruby code we have in bundle 
support, but the specific error above, I am quite sure is about the 
plist extension.

It would be nice to get all of our support code updated to work with 
both 1.8 and 2.0, but it’s also a daunting task because we have lots 
of code from lots of people collected over a decade, some of it should 
probably just be removed…


More information about the textmate mailing list