1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
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