lib/capistrano-extensions/deploy.rb in jtrupiano-capistrano-extensions-0.1.3 vs lib/capistrano-extensions/deploy.rb in jtrupiano-capistrano-extensions-0.1.4

- old
+ new

@@ -236,10 +236,10 @@ from = ENV['FROM'] || rails_env env = ENV['RESTORE_ENV'] || 'development' y = YAML.load_file(local_db_conf(env))[env] - db, user = y['database'], y['username'] # update me! + db, user = y['database'], (y['username'] || 'root') # update me! pass_str = pluck_pass_str(y) puts "\033[1;41m Restoring database backup to #{env} environment \033[0m" # local \ No newline at end of file