-
Notifications
You must be signed in to change notification settings - Fork 489
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
Dependencies in deploy
doesn't get reexecuted on launch
#575
Comments
You can run That is why I can suggest you setup your |
Are you sure about that? And what do you mean by From what I can see,
You might be right, but it's easier for me to just |
I think the non-interactive shell is a non-issue since the deploy-specific environment should be set in Official plugins provide tasks/settings to properly configure the environment and recommend to invoke them in Here's a little test I created based on the output of My test setup is:
The deploy script includes the generated commands from And here's the testing output: As you can see, the correct ruby and bundler are called in the bootstrap stage, but in the launch stage, the deploy script was running the system ruby and trying to run a system bundler, because rbenv is not set up. |
Is there any fix on this? |
Consider what
mina-sidekiq
suggests:sidekiq:quiet
andsidekiq:restart
both depend onenvironment
task. Butmina
doesn't reenable prerequisites, I guess. As a result,environment
task doesn't get executed onlaunch
. And sincelaunch
anddeploy
commands go into separate subshells, all kinds of different things happen, likervm
not working.I'm not sure how this is supposed to be handled, but it doesn't seem like an issue with
mina-sidekiq
.Meanwhile, a workaround is to add
invoke :environment
at the beginning oflaunch
.The text was updated successfully, but these errors were encountered: