mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
1854209bb3
Signed-off-by: José Valim <jose.valim@gmail.com>
8 lines
276 B
Ruby
8 lines
276 B
Ruby
begin
|
|
require 'i18n'
|
|
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
|
|
end
|
|
I18n.load_path << "#{File.dirname(__FILE__)}/locale/en.yml"
|
|
ActiveSupport.run_load_hooks(:i18n)
|