On 10 Nov 2008, at 17:07, ms wrote:
would be very pleased, if you could help me.
Well for starters it’s probably a good idea to have rails frozen in
your app’s vendor/rails.
The patch file is just a diff between the original and the new version
(ie a list of changes to make).
Typically you download the diff file from trac (if there is more than
one attachment you’ll just have to figure out whether one of the
supersedes all others)
if you cd to vendor/rails you can then do something like
patch -p0 < path/to/patch.diff
A long time ago i also coded up a quick hack to make this a little
easier. The gem file is at
Once you’ve got that installed you can just do (having cd’d to the
copy of rails you want to patch)
and it will do all the above for you (in the case that there are
multiple attachments available it will ask you which one you want).
Someone released some rake tasks that do the same for lighthouse but I
can’t remember who/where they are.