Created
February 3, 2012 20:00
-
-
Save benhamill/1732092 to your computer and use it in GitHub Desktop.
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
Downloading http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2011.12.tar.gz... | |
Installing ruby-enterprise-1.8.7-2011.12... | |
--2012-02-03 12:07:35-- http://bugs.ruby-lang.org/attachments/download/1931/stdout-rouge-fix.patch | |
Resolving bugs.ruby-lang.org... 210.251.121.216 | |
Connecting to bugs.ruby-lang.org|210.251.121.216|:80... connected. | |
HTTP request sent, awaiting response... 200 OK | |
Length: 719 [text/x-patch] | |
Saving to: `stdout-rouge-fix.patch' | |
100%[======================================================>] 719 --.-K/s in 0s | |
2012-02-03 12:07:36 (68.9 MB/s) - `stdout-rouge-fix.patch' saved [719/719] | |
can't find file to patch at input line 5 | |
Perhaps you used the wrong -p or --strip option? | |
The text leading up to this was: | |
-------------------------- | |
|diff --git a/lib/mkmf.rb b/lib/mkmf.rb | |
|index c9e738a..7a8004d 100644 | |
|--- a/lib/mkmf.rb | |
|+++ b/lib/mkmf.rb | |
-------------------------- | |
File to patch: source/lib/mkmf.rb | |
patching file source/lib/mkmf.rb | |
Installed ruby-enterprise-1.8.7-2011.12 to /home/ben/.rbenv/versions/ree-1.8.7-0211.12-stdout_patch | |
Downloading http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz... | |
Installing rubygems-1.6.2... | |
Installed rubygems-1.6.2 to /home/ben/.rbenv/versions/ree-1.8.7-0211.12-stdout_patch |
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-enterprise-1.8.7-2011.12" "http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2011.12.tar.gz" stdout_patch ree_installer | |
install_package "rubygems-1.6.2" "http://production.cf.rubygems.org/rubygems/rubygems-1.6.2.tgz" ruby |
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
$ CONFIGURE_OPTS="--no-tcmalloc" rbenv install ./ree-1.8.7-0211.12-stdout_patch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment