1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

Remove annoying bits of Rails that just make our life harder

This commit is contained in:
Mike Perham 2020-03-17 10:12:59 -07:00
parent 1d9800b0ce
commit 1207d2b5c1
5 changed files with 17 additions and 4 deletions

View file

@ -1,6 +1,19 @@
require_relative 'boot'
require 'rails/all'
require 'rails'
%w(
active_record/railtie
action_controller/railtie
action_view/railtie
action_mailer/railtie
active_job/railtie
sprockets/railtie
).each do |railtie|
begin
require railtie
rescue LoadError
end
end
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.