提交 6b9f077c 编写于 作者: J José Valim

Merge pull request #6439 from janx/remove_useless_require

refactor lazy_load_hooks load position, fix #6435
......@@ -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.
先完成此消息的编辑!
想要评论请 注册