Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix variable setting

  • Loading branch information...
commit 22c4c511d60f06861a5599448372038c9d7fded2 1 parent 9e0a238
@tilsammans authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/capistrano/transmit.rb
View
8 lib/capistrano/transmit.rb
@@ -5,10 +5,10 @@
Capistrano::Configuration.instance.load do
_cset :user, ""
- _cset :db_config { capture "cat #{current_path}/config/database.yml" }
- _cset :db_remote { YAML::load(db_config)['production'] }
- _cset :db_local { YAML::load_file("config/database.yml")['development'] }
- _cset :dumpfile { "#{current_path}/tmp/#{db_remote['database']}.sql.gz" }
+ _cset :db_config, { capture "cat #{current_path}/config/database.yml" }
+ _cset :db_remote, { YAML::load(db_config)['production'] }
+ _cset :db_local, { YAML::load_file("config/database.yml")['development'] }
+ _cset :dumpfile, { "#{current_path}/tmp/#{db_remote['database']}.sql.gz" }
after "transmit:get:mysql", "transmit:cleanup"
after "transmit:put:mysql", "transmit:cleanup"
Please sign in to comment.
Something went wrong with that request. Please try again.