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

Config file should be optional for easy cap deploys, fixes #715

This commit is contained in:
Mike Perham 2013-02-19 10:52:30 -08:00
parent 82abcb02d9
commit f333186ecf

View file

@ -317,7 +317,8 @@ module Sidekiq
opts = opts.merge(opts.delete(environment) || {})
parse_queues(opts, opts.delete(:queues) || [])
else
raise ArgumentError, "can't find config file #{cfile}"
# allow a non-existent config file so Sidekiq
# can be deployed by cap with just the defaults.
end
opts
end