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
|
||
---|---|---|
.. | ||
api | ||
application | ||
commands | ||
console | ||
engine | ||
generators | ||
rack | ||
railtie | ||
tasks | ||
templates | ||
test_unit | ||
all.rb | ||
app_loader.rb | ||
application.rb | ||
application_controller.rb | ||
backtrace_cleaner.rb | ||
cli.rb | ||
code_statistics.rb | ||
code_statistics_calculator.rb | ||
command.rb | ||
commands.rb | ||
configuration.rb | ||
engine.rb | ||
gem_version.rb | ||
generators.rb | ||
info.rb | ||
info_controller.rb | ||
initializable.rb | ||
mailers_controller.rb | ||
paths.rb | ||
rack.rb | ||
railtie.rb | ||
ruby_version_check.rb | ||
source_annotation_extractor.rb | ||
tasks.rb | ||
test_help.rb | ||
version.rb | ||
welcome_controller.rb |