Use overmind if available #1305
MatheusRich
started this conversation in
Ideas
Replies: 2 comments
-
Meaning, we'd check to see if Overmind is available on the user's system? Currently, Rails generates ./bin/dev for applications using jsbundling-rails. We could probably modify that file to check for the existence of Overmind. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
@stevepolitodesign yes! I forgot to attach the code for it: #!/usr/bin/env sh
# Magic happens here
if command -v overmind &> /dev/null
then
overmind start -f Procfile.dev "$@"
exit $?
fi
if ! gem list foreman -i --silent; then
echo "Installing foreman..."
gem install foreman
fi
exec foreman start -f Procfile.dev "$@" |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Use overmind instead of foreman, if available
Overmind is a process manager (like foreman) for Procfile-based
applications. The advantage is that it allows to use debuggers like
pry or
binding.irb.(Maybe this should be a PR against Rails?)
Beta Was this translation helpful? Give feedback.
All reactions