Hi, Faried - I tried it too, since I have Linux 10.04, and it also has a problem at the patching part, even provided your two ways to execute the diff. I'm also new to Ruby stuff.
$ patch -i twurldiff patching file Rakefile Hunk #1 FAILED at 2. Hunk #2 FAILED at 69. 2 out of 2 hunks FAILED -- saving rejects to file Rakefile.rej patching file lib/twurl.rb Hunk #1 FAILED at 4. 1 out of 1 hunk FAILED -- saving rejects to file lib/twurl.rb.rej patching file test/rcfile_test.rb Hunk #1 FAILED at 138. 1 out of 1 hunk FAILED -- saving rejects to file test/rcfile_test.rb.rej Just feedback. Patrick On Sat, May 15, 2010 at 4:40 AM, Faried Nawaz <far...@gmail.com> wrote: > On May 15, 12:41 am, kuhkatz <kuhk...@googlemail.com> wrote: > >> so i suppose i am doing things wrong. >> i followed your instructions, but when i apply the diff, i get this: >> >> $ patch -i twurldiff > > Close. You can do either one of > > patch -p 1 -i twurldiff > > or > > git apply twurldiff > > > Faried. >