aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/i18n.rb
blob: 8d8bf02927195848b8c26b4888e18e0a8f8d7ae7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
begin
  require 'active_support/core_ext/hash/deep_merge'
  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
end

ActiveSupport.run_load_hooks(:i18n)
I18n.load_path << "#{File.dirname(__FILE__)}/locale/en.yml"