Open dturner opened 6 years ago
Also tried going to Prefs->Variables and adding TM_RUBY
in manually but still getting the error.
Well, in the terminal, check your ruby:
$ which ruby
Use that in the config... /Users/donturner/homebrew/bin/ruby
seems a bit strange to me. How did you install Ruby?
If you don't set the TM_RUBY
you can use built-in ruby (which ships with mac os) but you need to install gems via sudo
:
git clone https://github.com/vigo/textmate2-gfm-preview.git GFM-Preview.tmbundle
cd GFM-Preview.tmbundle/Support/
sudo bundle install --path vendor/bundle # this line
@dturner can i close the issue?
I have followed the instructions in the README, however, I'm still getting the error "You need to set $TM_RUBY variable." when I attempt to preview a file in TextMate. Here's the output from the terminal to verify that the
TM_RUBY
variable has been set:Any ideas what could be causing this?