streeter / markdown-redcarpet.tmbundle

TextMate support for GitHub flavored Markdown
http://github.github.com/github-flavored-markdown/
69 stars 28 forks source link

Support for Yosemite #23

Closed fiedl closed 9 years ago

fiedl commented 9 years ago

Trying to fix https://github.com/streeter/markdown-redcarpet.tmbundle/issues/17.

The missing gems have to be installed as follows:

# bash
sudo /usr/bin/env gem install redcarpet:2.3.0 pygments.rb

Since I don't know why originally /System/Library/Frameworks/Ruby.framework/Versions/1.8 has been used, please double check this change.

It works fine for my Yosemite system (screenshot below). But, I had to deactivate the original markdown bundle in textmate.

Thanks for your bundle!

bildschirmfoto 2015-02-25 um 09 38 36

elia commented 9 years ago

1.8 was the system ruby before maveriks

Using env Ruby is dangerous because you can't know the exact version since many ppl use version managers like rvm.io to point env Ruby to different versions.

I'd suggest to replace env Ruby with the full path as it was before but with the version switched to 2.0.

elia commented 9 years ago

About deactivating the original bundle maybe it worth putting a note in the readme

fiedl commented 9 years ago

I've used the fork with rbenv for two weeks, now---so far everything works fine. But surely using the absolute path would be a more robust solution.