Created
February 8, 2012 21:10
-
-
Save jacquescrocker/1773910 to your computer and use it in GitHub Desktop.
Setting up Fast Ruby (1.9.3)
This file contains 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
# update rvm | |
rvm get latest | |
# create a 1.9.3 patch | |
export patchdir=$rvm_path/patches/ruby/1.9.3/p0 | |
mkdir -p $rvm_path/patches/ruby/1.9.3/p0 | |
curl https://raw.github.com/gist/1658360/2eee5541435663deddd674617bf26ae645b015bd/cumulative_performance.patch > $rvm_path/patches/ruby/1.9.3/p0/falcon.patch | |
# install patched version | |
rvm install 1.9.3 -n falcon --patch $patchdir/falcon.patch --with-gcc=clang | |
rvm use 1.9.3-fast |
Rerunning without clang gives me
[jc@mac ~]# rvm install 1.9.3 -n falcon --patch $patchdir/falcon.patch
Fetching yaml-0.1.4.tar.gz to /Users/jc/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/jc/.rvm/src
Configuring yaml in /Users/jc/.rvm/src/yaml-0.1.4.
Compiling yaml in /Users/jc/.rvm/src/yaml-0.1.4.
Installing yaml to /Users/jc/.rvm/usr
Installing Ruby from source to: /Users/jc/.rvm/rubies/ruby-1.9.3-p0-falcon, this may take a while depending on your cpu(s)...
ruby-1.9.3-p0-falcon - #fetching
ruby-1.9.3-p0-falcon - #extracted to /Users/jc/.rvm/src/ruby-1.9.3-p0-falcon (already extracted)
Applying patch '/Users/jc/.rvm/patches/ruby/1.9.3/p0/falcon.patch' (located at //Users/jc/.rvm/patches/ruby/1.9.3/p0/falcon.patch)
Error running 'patch -F 25 -p1 -N -f <"//Users/jc/.rvm/patches/ruby/1.9.3/p0/falcon.patch"', please read /Users/jc/.rvm/log/ruby-1.9.3-p0-falcon/patch.apply.falcon.patch.log
ruby-1.9.3-p0-falcon - #autoreconf
Fuck it... this is a waste of time...
You could try to run "rvm cleanup sources", and then running the install command again.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
errored out: