-
Notifications
You must be signed in to change notification settings - Fork 21.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rails dev:cache failed to restart the Rails server with custom pid file path #29306
Labels
Comments
Doing a search for "tmp/pids/server.pid" I can find that it is being hardcoded multiple places - search, even though Is there a reason why a disparity exists? |
Looking into this. |
@prathamesh-sonpatki Are you working on this? If not, I will fix. |
@y-yagi No, I am not working on it, feel free to take a stab at it, thanks :) |
y-yagi
added a commit
to y-yagi/rails
that referenced
this issue
Aug 20, 2017
Originally, it hard-coded pid file path. It can not be removed when customizing pid file path. But rake task can not get pid file path. Therefore, do not remove file in rake task, makes it possible to judge whether it is restart from the argument of the command and removes the file in server command. Fixes rails#29306
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Steps to reproduce
rails s -P tmp/pids/dev.pid
.rails dev:cache
.Expected behavior
Rails server should be restarted successfully.
Actual behavior
Restarting failed. Log:
System configuration
Rails version: Rails 5.1.1
Ruby version: Ruby 2.3.3
Potential Reason
"tmp/pids/server.pid"
The text was updated successfully, but these errors were encountered: