heroku / heroku/cli

Boot failure due to missing pids directory

Open
#1,329 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
889
Forks
236
Avg merge
2d 10h
Merged PRs (30d)
33

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.