2013-05-09 03:02:02 -04:00
|
|
|
require 'active_support/core_ext/hash/deep_merge'
|
|
|
|
require 'active_support/core_ext/hash/except'
|
|
|
|
require 'active_support/core_ext/hash/slice'
|
2010-05-31 06:31:08 -04:00
|
|
|
begin
|
|
|
|
require 'i18n'
|
|
|
|
rescue LoadError => e
|
2011-05-22 07:30:55 -04:00
|
|
|
$stderr.puts "The i18n gem is not available. Please add it to your Gemfile and run bundle install"
|
2010-05-31 06:31:08 -04:00
|
|
|
raise e
|
|
|
|
end
|
2013-05-09 03:02:02 -04:00
|
|
|
require 'active_support/lazy_load_hooks'
|
2010-06-20 08:44:38 -04:00
|
|
|
|
2012-05-10 19:48:23 -04:00
|
|
|
ActiveSupport.run_load_hooks(:i18n)
|
2010-03-07 09:24:30 -05:00
|
|
|
I18n.load_path << "#{File.dirname(__FILE__)}/locale/en.yml"
|