Alexey,
That is the default behavior, you may have to try setting a variable called
:migrate_env, and see what difference that makes, you may have to to set it
with a lambda, something like this:
set(:migrate_env, { stage })
That should not err if stage isn't defined (something you may run into
As far I remember, Multistage recipe doesn't automatically update your
environment.
You need to set it manually.
# in config/deploy/production.rb
set :rails_env, production
# in config/deploy/development.rb
set :rails_env, development
You can also set it dynamically, loading the value
Many thanks, now it works as expected!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Capistrano group.
To post to this group, send email to capistrano@googlegroups.com
To unsubscribe from this group, send email to