Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remote db configuration should honour multistage stage

  • Loading branch information...
commit 2f4697a019539f6cef4597c81103a4ea15a409ce 1 parent 78ec3a4
@bartzon bartzon authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/capistrano/transmit.rb
View
2  lib/capistrano/transmit.rb
@@ -55,7 +55,7 @@ def _db_config
# Production database configuration hash.
def _db_remote
- @_db_remote ||= YAML::load(_db_config)['production']
+ @_db_remote ||= YAML::load(_db_config)[stage]
end
# Development database configuration hash.
Please sign in to comment.
Something went wrong with that request. Please try again.