Yepper! Actually I changed it to `/usr/bin/env ruby`, which is what it should have been all along. I'll submit a pull request to that effect.
There's no way I was going to install any gems in the system ruby, even if it were possible to do so (which I doubt). It should not be used for anything at this point; indeed, Apple has repeatedly warned that pretty soon there might not even _be_ a system ruby. You should _always_ use your own ruby, for everything. It's "Bring Your Own Ruby" from here on out.
m.
On Nov 27, 2021, at 1:09 AM, Jacob Carlborg via TextMate textmate@lists.macromates.com wrote:
When it comes to the Markdown preview command, you can see here [4] that it’s invoking Ruby 1.8.7. As for the redcarpet part, that comes from GitHub-Markdown bundle, which is invoking system Ruby here [5]. If you change [5] to the path of your Ruby 2.6.3p62 it should work.
[5] https://github.com/textmate/GitHub-Markdown.tmbundle/blob/2b58b061e3a59d794b...
-- matt neuburg, phd = http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 14! https://www.oreilly.com/library/view/programming-ios-14/9781492092162/ iOS 14 Fundamentals! https://www.oreilly.com/library/view/ios-14-programming/9781492092087/ RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html