diff options
author | Andrew Bortz <abortz@cs.stanford.edu> | 2010-09-08 04:40:48 +0800 |
---|---|---|
committer | James Tucker <jftucker@gmail.com> | 2011-05-23 00:08:58 -0700 |
commit | 49a80b084f4bd92a03699717368afc515b89db30 (patch) | |
tree | 3e1bfd3fb3545de348aa37974a9463dc9e3ad335 | |
parent | 51cdaa62f5212976831535cac32e2ae5d00bafe1 (diff) | |
download | rack-49a80b084f4bd92a03699717368afc515b89db30.tar.gz |
Resolve absolute path of config so daemonize works
-rw-r--r-- | lib/rack/server.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rack/server.rb b/lib/rack/server.rb index 00e1af04..2ec4405f 100644 --- a/lib/rack/server.rb +++ b/lib/rack/server.rb @@ -230,6 +230,7 @@ module Rack args.clear if ENV.include?("REQUEST_METHOD") options.merge! opt_parser.parse! args + options[:config] = ::File.expand_path(options[:config]) ENV["RACK_ENV"] = options[:environment] options end |