mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
221b4aead5
Fix bug (#22811) that occurs when rails server is started in daemon mode
and optional path to the `server.pid` file is omitted. Store default path
in a constant instead of evaluating it multiple time using `File.expand_path`.
The bug in detail: The server startup procedure crashes, since it tries to
open a file at `/tmp/pids/server.pid` instead of
`<path to project>/tmp/pids/server.pid`. This bug was introduced in
|
||
---|---|---|
.. | ||
rails | ||
rails.rb |