mina-multistage icon indicating copy to clipboard operation
mina-multistage copied to clipboard

:environment is deprecated

Open samnissen opened this issue 7 years ago • 2 comments

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

samnissen avatar Dec 19 '17 12:12 samnissen

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.

swapnilchincholkar avatar Jun 07 '18 10:06 swapnilchincholkar

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.

sebackend avatar Mar 18 '22 14:03 sebackend