Created
August 15, 2012 00:13
-
-
Save tuzz/3354136 to your computer and use it in GitHub Desktop.
Heroku Pygments fix
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Heroku doesn't get on too well with Pygments: | |
# LoadError: Could not open library '/usr/local/lib/libpython2.7.a': /usr/local/lib/libpython2.7.a: invalid ELF header | |
# To fix: | |
# Gemfile | |
gem 'rubypython', '=0.5.1' | |
# config/initializers/pygments.rb | |
RubyPython.configure :python_exe => 'python2.6' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment