Do not expand paths given on the shell
commit15217fe1162a400fa1cd2216e395d9f17be8083e
authorEric Wong <normalperson@yhbt.net>
Thu, 19 Nov 2009 01:28:12 +0000 (18 17:28 -0800)
committerEric Wong <normalperson@yhbt.net>
Thu, 19 Nov 2009 01:40:46 +0000 (18 17:40 -0800)
tree657468e709e5438a82f4e93dcafc98fa01abc033
parent57348bff1af3bd5817f1e7b12cd297d61d2f9414
Do not expand paths given on the shell

Shells already expand '~' before the executables see it, and
relative paths inside symlinks can get set incorrectly to the
actual directory name, and not the (usually desired) symlink
name for things like Capistrano.

Since our paths are now unexpanded, we must now check the
"working_directory" directive and raise an error if the user
specifies the config file in a way that makes the config file
unreloadable.
bin/unicorn
bin/unicorn_rails
lib/unicorn/configurator.rb
test/exec/test_exec.rb