Created
March 22, 2012 15:44
-
-
Save kungfoo/2159108 to your computer and use it in GitHub Desktop.
Installing 1.8.7-p358 with rbenv, when glibc >= 2.14 is installed
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
build_package_stdout_patch() { | |
wget 'http://bugs.ruby-lang.org/attachments/download/1931/stdout-rouge-fix.patch' | |
patch -p1 < stdout-rouge-fix.patch | |
} | |
require_gcc | |
install_package "ruby-1.8.7-p358" "http://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.7-p358.tar.gz" stdout_patch standard | |
install_package "rubygems-1.6.2" "http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz" ruby | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This will help with installing 1.8.7-p358 when glibc is newer than 2.14. Without the patch it will not compile, yielding a similar result to this: