Skip to content

Commit

Permalink
Document using overmind instead of foreman
Browse files Browse the repository at this point in the history
`overmind` is better suited to dealing with `binding.pry` and other
development-related concerns.
  • Loading branch information
tvararu committed Jul 18, 2024
1 parent d7bae22 commit 62f57f7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,21 @@ $ bin/dev
...
```

#### Debugging with `binding.pry`

TTY echo can get mangled when using `binding.pry` in `bin/dev`. To work around
this, you can run `rails s` directly if you're not working with any JS or CSS
assets.

Alternatively, you can install `tmux` and
[`overmind`](https://github.com/DarthSim/overmind#connecting-to-a-process) which
is compatible with our `Procfile.dev`:

```bash
$ overmind start -f Procfile.dev
$ overmind connect web
```

### Testing

To run the Rails tests:
Expand Down

0 comments on commit 62f57f7

Please sign in to comment.