On 5 Feb 2021, at 9:11, christos--- via TextMate wrote:

I just upgraded to 2.0.17 and now any bundle that uses pre-compiled binaries in Bundle Support bundle fails to load due to the incompatible architectures:

The error is from the plist.bundle which is a ruby extension.

However, I think this extension already has a problem with ruby 2.x and should only be used from ruby 1.8.7.

I can't even find the source for those binaries to try and build them. Any ideas?

The source is here: http://svn.textmate.org/trunk/Tools/plist/

I would be eager to know if you can build this for ARM and then fix the problem.

But I think the issue is the bundle command that indirectly require this, needs to have the shebang changed to this:

#!/usr/bin/env ruby18

I believe teh plist extension is primarily used to parse the output from DIALOG: I will add a JSON option to DIALOG so that we can use ruby’s native JSON parser instead, and hopefully phase out the plist extension.