configuration variable in daemon is undefined #1

Merged
merged 1 commit into from Oct 31, 2012
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Diff settings

Always

Just for now

View
@@ -99,7 +99,7 @@ def self.daemonize
def self.write_pid_file
if !config[:pid_file].blank?
begin
- File.open(configuration[:pid_file], 'w') do |f|
+ File.open(config[:pid_file], 'w') do |f|
f.puts $$
end
rescue SystemCallError => e