You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SSHKit::Runner::ExecuteError: Exception while executing on host: instance variable @_env not defined
~/.rvm/gems/ruby-1.9.3-p547@ges/gems/sshkit-1.5.1/lib/sshkit/backends/abstract.rb:88:in `remove_instance_variable'
~/.rvm/gems/ruby-1.9.3-p547@ges/gems/sshkit-1.5.1/lib/sshkit/backends/abstract.rb:88:in `with'
And it falls on next task
desc 'Create backup of the DB'
task :backup do
on roles(:db) do
within release_path do
with rails_env: fetch(:rails_env) do
with 'BACKUP_PATH' => shared_path.join('backups') do
execute :rake, 'db:backup'
end
end
end
end
end
And task completes successfully and I can see correct dump.
The text was updated successfully, but these errors were encountered:
And it falls on next task
And task completes successfully and I can see correct dump.
The text was updated successfully, but these errors were encountered: