tag:support.markedapp.com,2011-09-11:/discussions/problems/141-github-flavored-markdown-as-custom-processorMarked: Discussion 2012-08-26T21:04:04Ztag:support.markedapp.com,2011-09-11:Comment/132073042012-01-27T03:15:02Z2012-01-27T03:15:02ZGithub flavored markdown as custom processor<div><p>Where's your ruby binary located? Marked looks specifically for
/usr/bin/ruby right now and can't read RVM environments yet, so
it's probably running whatever version you have as system base,
which is likely a conflict with what you run on the command
line.</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/132073042012-01-27T03:38:13Z2012-01-27T03:38:13ZGithub flavored markdown as custom processor<div><p>That did it, thanks! I just reverted ruby back with <code>rvm
use system</code><br>
and all is well. A note on that <em>Github flavored markdown as
custom<br>
processor</em> page about the ruby version/location might be
helpful.<br>
Thanks again!</p>
<p>Brian</p></div>Brian Billmantag:support.markedapp.com,2011-09-11:Comment/132073042012-01-27T08:05:11Z2012-01-27T08:05:11ZGithub flavored markdown as custom processor<div><p>Glad it worked! I'll add a note :).</p></div>Bretttag:support.markedapp.com,2011-09-11:Comment/132073042012-01-27T15:04:29Z2012-08-26T20:15:15ZGithub flavored markdown as custom processor<div><p>Just wanted to give an update, after some more poking around. I
now think the problem was that the system ruby was missing the
redcarpet gem, but because I had used rvm to change my default ruby
install, when I installed the gems, they gem were associated with
the rvm ruby install. Once I switched back to the system ruby and
installed the gems, Marked found everything it needed, and rvm can
be used to switch back to another version.</p>
<p>Moral of the story: make sure that all the required gems are
installed under <em>system</em> ruby! (i.e. if you're using rvm,
switch back to system ruby <code>rvm use system</code> and install
the gems, then you can switch back to your ruby version of
choice)</p></div>Brian Billman