This project is archived and is in readonly mode.

Changeset [bb324693ab8e197b369b90e2c3b46d67395a58e5] 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...

Committed by Ryan Duryea

  • M railties/lib/rails/commands/server.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>