the tzinfo version packaged with rails 2.1.2 is incorrect and missing
some files. If you compare the version stored in activesupport/lib/
active_support/vendor/tzinfo-0.3.11 with a fresh gem install of
tzinfo-0.3.11, the activesupport-2.1.2 version is missing all the
(still seems broken in master:
This means that if the rails version is loaded up, calling
fails, while if the standard gem version is loaded, it works.
I was explicitly setting, in environment.rb
config.gem "tzinfo", :version => '0.3.10'
but rails 2.1.2 sets 0.3.11, and because I didn't have that gem
installed on my system, it loaded the broken one from
The way to get all of this to work is to install the 0.3.11 gem and
change my environment.rb file to require the 0.3.11 version, and then
it loads up the full gem version and bypasses the bad rails 2.1.2
version. But this definitely doesn't seem like the correct behavior,
starting with the bad vendorized tzinfo-0.3.11 gem in