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
|
||
---|---|---|
.. | ||
application.rb | ||
commands_tasks.rb | ||
console.rb | ||
console_helper.rb | ||
dbconsole.rb | ||
destroy.rb | ||
dev_cache.rb | ||
generate.rb | ||
plugin.rb | ||
rake_proxy.rb | ||
runner.rb | ||
server.rb | ||
test.rb |