diff options
Diffstat (limited to 'activesupport/lib')
-rw-r--r-- | activesupport/lib/active_support.rb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/activesupport/lib/active_support.rb b/activesupport/lib/active_support.rb index 0f2c7706fe..db3f33618e 100644 --- a/activesupport/lib/active_support.rb +++ b/activesupport/lib/active_support.rb @@ -36,5 +36,11 @@ end require 'active_support/autoload' -require 'i18n' +begin + require 'i18n' +rescue LoadError + $: << File.expand_path(File.join(File.dirname(__FILE__), 'active_support/vendor/i18n-0.1.3/lib')) + retry +end + I18n.load_path << "#{File.dirname(__FILE__)}/active_support/locale/en.yml" |