Created
March 26, 2021 07:28
-
-
Save absyah/a000b1dc8848e76a3381145c34dfeb91 to your computer and use it in GitHub Desktop.
update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment