You need to install the gem using the Ruby version that TextMate is invoking. The instructions are assuming that TextMate will use the system provided Ruby version.

On 26 Nov 2021, at 18:39, Matt Neuburg via TextMate <textmate@lists.macromates.com> wrote:

How do I get GitHub flavored Markdown working? I installed the bundle but when I try to preview I see:

   Please install the Redcarpet and Pygments.rb RubyGems by running the following:

   /usr/bin/gem install --user redcarpet pygments.rb

I did that, but it's not helping. Note that my ruby is installed with rbenv, and TextMate is pointed to it. My gems are installed using rbenv-gemset. For example, if I install redcarpet without saying `--user`, it goes into

   /Users/mattmobile/.rbenv/versions/2.6.3/gemsets/rubyfrontier/gems/redcarpet-3.5.1/lib/redcarpet.rb

Thanks - m.

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

_______________________________________________
TextMate mailing list -- textmate@lists.macromates.com
To unsubscribe send an email to textmate-leave@lists.macromates.com

-- 
/Jacob Carlborg