提交 a807db9d 编写于 作者: J Jan Xie

refactor lazy_load_hooks load position

上级 3ed92c87
......@@ -25,6 +25,7 @@
require "active_support/dependencies/autoload"
require "active_support/version"
require "active_support/logger"
require "active_support/lazy_load_hooks"
module ActiveSupport
extend ActiveSupport::Autoload
......
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册