Patches to update rails 2.1.0 to 2.1.1
I've made some patches to update Ruby On Rails version 2.1.0 to 2.1.1 where you make use of the unpacked gems and a subversion repository (running 'rake rails:freeze:gems' has a bad habit of leaving your working copy in a mess as it blows away your 'vendor/rails' directory and recreates it).
Download the patch files by using the following script and apply them into each directory under vendor/rails by running rails-updater.sh.
If you have issues with patching files (like when using svn eol-style:native for files) you may need to grab the failed files by doing 'gem unpack component' and copying those files over and removing the reject files. I've tested the patches on a couple of open source apps and it applied cleanly except to one working copy.
patching file CHANGELOG
patching file Rakefile
patching file lib/action_mailer/base.rb
patching file lib/action_mailer/vendor/text-format-0.6.3/text/format.rb
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file lib/action_mailer/vendor/text-format-0.6.3/text/format.rb.rej
patching file lib/action_mailer/vendor/tmail-1.2.3/tmail/parser.rb
Hunk #1 FAILED at 12.
1 out of 1 hunk FAILED -- saving rejects to file lib/action_mailer/vendor/tmail-1.2.3/tmail/parser.rb.rej
patching file lib/action_mailer/version.rb
patching file test/abstract_unit.rb
Another way to fetch the files is to fetch them from the github website using url's like:
http://github.com/rails/rails/tree/v2.1.1//?raw=true
i.e. for the failed lib/action_mailer/vendor/text-format-0.6.3/text/format.rb mentioned above we would fetch it from the following URL - http://github.com/rails/rails/tree/v2.1.1/actionmailer/lib/action_mailer/vendor/text-format-0.6.3/text/format.rb?raw=true.