aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/i18n.rb
diff options
context:
space:
mode:
authorJack Dempsey <jack.dempsey@gmail.com>2010-09-13 18:46:00 -0400
committerCarl Lerche <carllerche@mac.com>2010-09-14 10:25:33 -0700
commita4278766068ee89fc910e113ef93d82071757965 (patch)
treec98540ef9c1c7d6d4300ae9163827b3f4317742b /activesupport/lib/active_support/i18n.rb
parent0207bc7cc980e3f1d15fc59f611eff05e2e35035 (diff)
downloadrails-a4278766068ee89fc910e113ef93d82071757965.tar.gz
rails-a4278766068ee89fc910e113ef93d82071757965.tar.bz2
rails-a4278766068ee89fc910e113ef93d82071757965.zip
require i18n in transliterate so it can run in isolated situations
Diffstat (limited to 'activesupport/lib/active_support/i18n.rb')
-rw-r--r--activesupport/lib/active_support/i18n.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/i18n.rb b/activesupport/lib/active_support/i18n.rb
index 45b9d20c01..4dd9e826e4 100644
--- a/activesupport/lib/active_support/i18n.rb
+++ b/activesupport/lib/active_support/i18n.rb
@@ -1,5 +1,6 @@
begin
require 'i18n'
+ require 'lazy_load_hooks'
rescue LoadError => e
$stderr.puts "You don't have i18n installed in your application. Please add it to your Gemfile and run bundle install"
raise e