Skip to content

Instantly share code, notes, and snippets.

@mperham
Created June 8, 2011 03:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mperham/53031fcff0f3258f0f90 to your computer and use it in GitHub Desktop.
Save mperham/53031fcff0f3258f0f90 to your computer and use it in GitHub Desktop.
> rvm install ruby-1.9.2-p180 --patch /tmp/load.patch -n patched
Installing Ruby from source to: /Users/mperham/.rvm/rubies/ruby-1.9.2-p180-patched, this may take a while depending on your cpu(s)...
ruby-1.9.2-p180-patched - #fetching
ruby-1.9.2-p180-patched - #downloading ruby-1.9.2-p180, this may take a while depending on your connection...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 8609k 100 8609k 0 0 138k 0 0:01:02 0:01:02 --:--:-- 262k
ruby-1.9.2-p180-patched - #extracted to /Users/mperham/.rvm/src/ruby-1.9.2-p180-patched (already extracted)
Applying patch '/tmp/load.patch' (located at //tmp/load.patch)
ERROR: Error running 'patch -F25 -p1 -f <"//tmp/load.patch"', please read /Users/mperham/.rvm/log/ruby-1.9.2-p180-patched/patch.apply.load.patch.log
Fetching yaml-0.1.3.tar.gz to /Users/mperham/.rvm/archives
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 455k 100 455k 0 0 244k 0 0:00:01 0:00:01 --:--:-- 893k
Extracting yaml-0.1.3.tar.gz to /Users/mperham/.rvm/src
> more /Users/mperham/.rvm/log/ruby-1.9.2-p180-patched/patch.apply.load.patch.log
[2011-06-07 20:00:21] patch -F25 -p1 -f <"//tmp/load.patch"
patching file load.c
Hunk #1 FAILED at 40.
Hunk #2 FAILED at 73.
2 out of 2 hunks FAILED -- saving rejects to file load.c.rej
@micke
Copy link

micke commented Jun 18, 2011

i got the same but rvm cleanup all solved the error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment