This project is archived and is in readonly mode.
Changeset [bb324693ab8e197b369b90e2c3b46d67395a58e5] by Ryan Duryea
Revision bb324693ab8e197b369b90e2c3b46d67395a58e5,
committed by Ryan Duryea
· June 19th, 2010 @ 11:57 PM
Pass rack the absolute path of server's pid file
When running as a daemon, rack will cd to "/" and paths relative
to the
root of the rails app aren't valid when rack is setting up. Because
of
this, "rails server -d" was failing silently when trying to write
it's
pid file
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/bb324693ab8e197b369b90e2c3b46d...
1 changed file
-
M
railties/lib/rails/commands/server.rb