We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 045afb6 commit 2e3101aCopy full SHA for 2e3101a
lib/redmine_sidekiq/configure.rb
@@ -7,9 +7,9 @@
7
8
module RedmineSidekiq
9
class Configure
10
- file = File.join(Rails.root, 'plugins/redmine_sidekiq/config/sidekiq.yml')
+ file = File.join(::Rails.root, 'plugins/redmine_sidekiq/config/sidekiq.yml')
11
if File.exist?(file)
12
- config = YAML.load_file(file)[Rails.env]
+ config = YAML.load_file(file)[::Rails.env]
13
redis_conf = config['redis'].symbolize_keys
14
end
15
0 commit comments