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:
parent
1d9800b0ce
commit
1207d2b5c1
5 changed files with 17 additions and 4 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue