Articles tagged 'pygments'
-
Pygmentizing your Rails app hosted on Heroku
July 28, 2012
This post was originally published in the Rambling Labs Blog on July 28, 2012.
Last week, I watched Ryan Bates’ Syntax Highlighting RailsCast and wanted to apply what I had just learned right away, using pygments.
As you might have noticed, the jQuery Rambling Slider homepage features the new syntax highlighting styling. I’ve spent great part of the day updating the blog posts to use this new syntax highlighting style, to stop relying on GitHub’s gists, but that’s another story.
Now, there are several ways to do this. There are a couple of gems out there, like the
pygments.rb
mentioned on the RailsCast, that are very helpful. I installed that gem locally and it worked like a charm, but when I tried to upload the changes to Heroku, the…