diff options
author | Eric Wong <normalperson@yhbt.net> | 2009-02-20 11:08:52 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2009-02-21 04:23:33 -0800 |
commit | 39bdfa57791248e6dd72aa20c9a539c7ff5d4ccb (patch) | |
tree | 182107562123aa6319ca1d5ec70f2888af084da7 | |
parent | 52a2c6d556b44f355c6661e6c828dac977dff46a (diff) | |
download | unicorn-39bdfa57791248e6dd72aa20c9a539c7ff5d4ccb.tar.gz |
This variable is not guaranteed to be updated outside of an interactive POSIX-ish shell.
-rw-r--r-- | lib/unicorn.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicorn.rb b/lib/unicorn.rb index f53623e..7a2eda2 100644 --- a/lib/unicorn.rb +++ b/lib/unicorn.rb @@ -26,7 +26,7 @@ module Unicorn DEFAULT_START_CTX = { :argv => ARGV.map { |arg| arg.dup }, - :cwd => (ENV['PWD'] || Dir.pwd), + :cwd => Dir.pwd, :zero => $0.dup, :environ => {}.merge!(ENV), :umask => File.umask, |