mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fe1eda64e5
`railtie` is already a string!
17 lines
285 B
Ruby
17 lines
285 B
Ruby
require 'rails'
|
|
|
|
%w(
|
|
active_record/railtie
|
|
action_controller/railtie
|
|
action_view/railtie
|
|
action_mailer/railtie
|
|
active_job/railtie
|
|
action_cable/engine
|
|
rails/test_unit/railtie
|
|
sprockets/railtie
|
|
).each do |railtie|
|
|
begin
|
|
require railtie
|
|
rescue LoadError
|
|
end
|
|
end
|