lib/gemirro/cli/server.rb in gemirro-0.13.3 vs lib/gemirro/cli/server.rb in gemirro-0.13.4

- old
+ new

@@ -41,10 +41,10 @@ @orig_stdout = STDOUT.clone $PROGRAM_NAME = 'gemirro' def create_pid File.open(@pid_file, 'w') do |f| - f.write("#{Process.pid}") + f.write(Process.pid.to_s) end rescue Errno::EACCES STDOUT.reopen @orig_stdout puts "Error: Can't write to #{@pid_file} - Permission denied" exit!