Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed bug with daemon failing on startup, by expanding pid file to fu…

…ll path
  • Loading branch information...
commit 2bca8fee97effb3336f19abaea5d6bbd09b83ad8 1 parent 91a6b42
Adam Meehan authored
1  .gitignore
View
@@ -0,0 +1 @@
+pkg/*
6 History.txt
View
@@ -1,5 +1,11 @@
+= 1.4.1
+
+* Bugs fixed
+ * Daemon failed on startup fixed with expanding full path of pid file
+
= 1.4.0
+* Forked gem and published on GitHub (gem sources -a http://gems.github.com)
* New Features
* Added pid file creation on daemonize with command line option to specify pid filename [Dylan Egan]
2  ar_mailer.gemspec
View
@@ -1,6 +1,6 @@
Gem::Specification.new do |s|
s.name = %q{ar_mailer}
- s.version = "1.4.0"
+ s.version = "1.4.1"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Eric Hodel"]
4 lib/action_mailer/ar_sendmail.rb
View
@@ -54,7 +54,7 @@ class ActionMailer::ARSendmail
##
# The version of ActionMailer::ARSendmail you are running.
- VERSION = '1.3.1'
+ VERSION = '1.4.1'
##
# Maximum number of times authentication will be consecutively retried
@@ -351,7 +351,7 @@ def self.run(args = ARGV)
if options[:Daemon] then
require 'webrick/server'
- @@pid_file = options[:Pidfile]
+ @@pid_file = File.expand_path(options[:Pidfile])
if File.exists? @@pid_file
# check to see if process is actually running
pid = ''
Please sign in to comment.
Something went wrong with that request. Please try again.