Skip to content

Commit

Permalink
fix lookup for Rails const
Browse files Browse the repository at this point in the history
  • Loading branch information
bibendi committed Apr 3, 2014
1 parent d4edc0c commit 42709d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/resque/integration/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -117,19 +117,19 @@ def verbosity

# Returns path to resque log file
def log_file
self['resque.log_file'] || Rails.root.join('log/resque.log').to_s
self['resque.log_file'] || ::Rails.root.join('log/resque.log').to_s
end

def config_file
self['resque.config_file'] || Rails.root.join('config/resque.god').to_s
self['resque.config_file'] || ::Rails.root.join('config/resque.god').to_s
end

def pid_file
"#{pids}/resque-god.pid"
end

def pids
self['resque.pids'] || Rails.root.join('tmp/pids').to_s
self['resque.pids'] || ::Rails.root.join('tmp/pids').to_s
end

def root
Expand Down

0 comments on commit 42709d7

Please sign in to comment.