mina-multistage
mina-multistage copied to clipboard
:environment is deprecated
The documentation for mina-multistage, for example
task setup: :environment do #...
conflicts with mina best practice
! :environment is DEPRECATED! Please use local_environment and remote_environment
Might be version issue? I faced same issue but version change helped me. Though I was using older version "0.3.7", started getting same error after upgrading ruby version to latest one. Hence changed to mina version "0.3.8" helped me. I am maintaining old code for old project hence using old version. Might be if project has multiple branches using different ruby versions, then changing branch without reloading terminal/tab can cause this.
i got the same message in my deployments, using mina 1.2.4 and mina-multistage 1.0.3, the message is kind of annoying but nothing more.