On 7 Mar 2021, at 14:10, Allan Odgaard via TextMate textmate@lists.macromates.com wrote: Turned out to be easier said than done, especially as ruby 1.8.7 has no native support for JSON…
Hm, yeah, it was a while since I used Ruby 1.8.7.
But I added a ruby native plist extension to the bundle support bundle (in a version that works with both ruby 1.8.7 and 2.x).
Great.
So now it should be possible for bundle commands to use ruby 2.x and the TextMate::UI library.
I looked over the other ruby files, and from a cursory glance, they all look like they should work with ruby 2.x.
Seems to be a minor issue with the `complete` method. I’ve created a pull request to fix it [1].
So now we just need to update and test the 8-900 bundle items with a ruby18 shebang, before we can get rid of ruby 1.x…
And then it’s time for Ruby 3 ;)
[1] https://github.com/textmate/bundle-support.tmbundle/pull/33