Skip to content

Instantly share code, notes, and snippets.

@mguterl
Created March 26, 2012 16:43
Show Gist options
  • Select an option

  • Save mguterl/2206413 to your computer and use it in GitHub Desktop.

Select an option

Save mguterl/2206413 to your computer and use it in GitHub Desktop.
# Syntax highlighting for pre/code blocks
require 'rack/pygmoku'
use Rack::Pygmoku, :lexer_attr => 'lang'
# Workaround https://github.com/heroku/heroku-buildpack-python/issues/5
RubyPython.configure :python_exe => 'python2.6'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment