Skip to content
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

Boot failure due to missing pids directory #1329

Open
evaneykelen opened this issue Sep 23, 2019 · 1 comment
Open

Boot failure due to missing pids directory #1329

evaneykelen opened this issue Sep 23, 2019 · 1 comment

Comments

@evaneykelen
Copy link

Do you want to request a feature or report a bug?

Bug with heroku/7.30.0 darwin-x64 node-v11.14.0.

What is the current behavior?

With a Rails project lacking a /tmp/pids folder invoking heroku local fails to boot the app.

The error is Errno::ENOENT: No such file or directory @ rb_sysopen - tmp/pids/server.pid.

Workaround: running rails server and then running heroku local again fixes the problem since rails server creates the pids folder if missing.

What is the expected behavior?

The Heroku CLI should also create the pids directory if missing.

@RasPhilCo
Copy link
Contributor

We generally don't create files in your projects without being ask or asking permission. We could provide a better error message though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants