diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2012-05-22 11:01:16 -0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2012-05-22 11:33:03 -0300 |
commit | 38293ea828ab52043fceecbdc96946b5bc9bb0e5 (patch) | |
tree | fa70675f6f3d41e23b802e7ea138a56a1372020c /activesupport/lib/active_support | |
parent | d3ee0a24498b1d54eefbf484720cd63a2b653c65 (diff) | |
download | rails-38293ea828ab52043fceecbdc96946b5bc9bb0e5.tar.gz rails-38293ea828ab52043fceecbdc96946b5bc9bb0e5.tar.bz2 rails-38293ea828ab52043fceecbdc96946b5bc9bb0e5.zip |
require active_support/lazy_load_hooks where is needed
Diffstat (limited to 'activesupport/lib/active_support')
-rw-r--r-- | activesupport/lib/active_support/i18n.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/i18n.rb b/activesupport/lib/active_support/i18n.rb index 27234d89e1..188653bd9b 100644 --- a/activesupport/lib/active_support/i18n.rb +++ b/activesupport/lib/active_support/i18n.rb @@ -1,5 +1,6 @@ begin require 'i18n' + require 'active_support/lazy_load_hooks' rescue LoadError => e $stderr.puts "The i18n gem is not available. Please add it to your Gemfile and run bundle install" raise e |