mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
20 lines
340 B
Ruby
20 lines
340 B
Ruby
# frozen_string_literal: true
|
|
|
|
require "rails"
|
|
|
|
%w(
|
|
active_record/railtie
|
|
action_controller/railtie
|
|
action_view/railtie
|
|
action_mailer/railtie
|
|
active_job/railtie
|
|
action_cable/engine
|
|
active_storage/engine
|
|
rails/test_unit/railtie
|
|
sprockets/railtie
|
|
).each do |railtie|
|
|
begin
|
|
require railtie
|
|
rescue LoadError
|
|
end
|
|
end
|