aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/vendor/tzinfo.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/vendor/tzinfo.rb')
-rw-r--r--activesupport/lib/active_support/vendor/tzinfo.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/vendor/tzinfo.rb b/activesupport/lib/active_support/vendor/tzinfo.rb
index cc4f086edf..0d47361d97 100644
--- a/activesupport/lib/active_support/vendor/tzinfo.rb
+++ b/activesupport/lib/active_support/vendor/tzinfo.rb
@@ -1,6 +1,6 @@
begin
gem 'tzinfo', '~> 0.3.13'
-rescue Gem::LoadError
+rescue LoadError, NoMethodError
$LOAD_PATH.unshift File.expand_path("#{File.dirname(__FILE__)}/tzinfo-0.3.13/lib")
end