overmind
overmind copied to clipboard
Commands work from `run` but not `start`
I have a simple Procfile.dev:
rails: rails server
webpack: bin/webpack-dev-server
When I try to launch it with overmind start -f Procfile.dev
I get an error from the rails session about an outdated version of bundler (because it's using my system ruby instead of the version installed with asdf-vm).
However, if I run overmind run rails server
it starts up fine (as does tmux new rails server
).
What is the difference between those two commands? How do I troubleshoot what's going on?
If it makes a difference my environment is:
- macOS Catalina 10.15.3
- fish shell 3.0.2
- asdf version manager 0.7.6
- Overmind 2.1.0
- tmux 3.0a
I saw in the README it's probably a path issue but I'm not sure how to fix it when it's broken with start
but working with run
Hi! I had similar issue and was able to fix it editing procfile. In my case I had to change:
anycable: bundle exec anycable --rpc_host=[::]:50051
to
anycable: bundle exec anycable --rpc_host="[::]:50051"
Have you tried to run bin/webpack-dev-server overmind run
?
Hey!
overmind run
just starts provided command with env variables set from .overmind.env
and friends. No fancy stuff like tmux etc.
According to the issue, try to look here: https://asdf-vm.com/#/core-manage-asdf-vm?id=having-issues I installed asdf and configured it as described in the manual, and everything works as expected.
As a debug measure you can try to add something like env: env; sleep 9999
to your Procfile and compare it with the output of env
launched directly from your shell.