Skip to content

Commit

Permalink
Resolve absolute path of config so daemonize works
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Bortz authored and josh committed Dec 9, 2010
1 parent 6152297 commit 9b5946a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rack/server.rb
Expand Up @@ -244,6 +244,7 @@ def parse_options(args)
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
Expand Down

0 comments on commit 9b5946a

Please sign in to comment.