Skip to content

Commit

Permalink
Specify python 2.6 for Pygments
Browse files Browse the repository at this point in the history
  • Loading branch information
rwdaigle committed Feb 20, 2012
1 parent 6184f44 commit c8b704f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app.rb
Original file line number Original file line Diff line number Diff line change
@@ -1,5 +1,10 @@
require 'nokogiri' require 'nokogiri'
require 'rack/pygmoku' require 'rack/pygmoku'
require 'rubypython'

# Default python (2.7) seems to have issues on Heroku:
# https://github.com/tmm1/pygments.rb/issues/10
RubyPython.configure :python_exe => 'python2.6'


# Maruku gives us auto-ids w/ H2 elements (for use by TOC generation) # Maruku gives us auto-ids w/ H2 elements (for use by TOC generation)
Tilt.prefer Tilt::MarukuTemplate Tilt.prefer Tilt::MarukuTemplate
Expand Down

0 comments on commit c8b704f

Please sign in to comment.