aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/Rakefile
diff options
context:
space:
mode:
authorGeoff Buesing <gbuesing@gmail.com>2009-06-07 22:09:21 -0500
committerGeoff Buesing <gbuesing@gmail.com>2009-06-07 22:09:21 -0500
commit7fe8b630ce47f62409aabb609e81ff676df56bd3 (patch)
treeff40735bd01410e7f91b5632f1f6c088abb85ba1 /activesupport/Rakefile
parent71b1a4b39d08e401cf8a73d1a551c532da509fa7 (diff)
downloadrails-7fe8b630ce47f62409aabb609e81ff676df56bd3.tar.gz
rails-7fe8b630ce47f62409aabb609e81ff676df56bd3.tar.bz2
rails-7fe8b630ce47f62409aabb609e81ff676df56bd3.zip
Add notes to TZInfo bundling task
Diffstat (limited to 'activesupport/Rakefile')
-rw-r--r--activesupport/Rakefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/activesupport/Rakefile b/activesupport/Rakefile
index c3ea09d424..238594debb 100644
--- a/activesupport/Rakefile
+++ b/activesupport/Rakefile
@@ -101,6 +101,16 @@ namespace :tzinfo do
desc "Update bundled tzinfo gem. Only copies the subset of classes and definitions required to support Rails time zone features."
task :update => ['tzinfo:copy_classes', 'tzinfo:copy_definitions'] do
Rake::Task['tzinfo:cleanup_tmp'].invoke
+ puts <<-EOV
+ *** FINAL TZINFO BUNDLING STEPS ***
+
+ 1. Update TZInfo version in lib/active_support/vendor.rb
+ 2. gem uninstall tzinfo on local system before running tests, to ensure tests are running against bundled version
+
+ If a test fails because a particular zone can't be found, it's likely because the TZInfo identifier in the
+ ActiveSupport::TimeZone::MAPPING hash is referencing a linked timezone instead of referencing the timezone directly.
+ In this case, just change the MAPPING value to the correct identifier, and unpack TZInfo again.
+ EOV
end
task :unpack_gem do