generators/vulcanize/templates/mysql/config/rubber/deploy-mysql.rb in sml-rubber-0.9.6 vs generators/vulcanize/templates/mysql/config/rubber/deploy-mysql.rb in sml-rubber-0.9.7
- old
+ new
@@ -129,10 +129,10 @@
# on hosts in order to run rubber:config for bootstrapping the db
deploy.setup
deploy.update_code
# Gen just the conf for the given mysql role
- rubber.run_config(:RUBBER_ENV => rails_env, :FILE => "role/#{role}|role/db/my.cnf", :deploy_path => release_path)
+ rubber.run_config(:RUBBER_ENV => RUBBER_ENV, :FILE => "role/#{role}|role/db/my.cnf", :deploy_path => release_path)
end
after "rubber:install_packages", "rubber:mysql:custom_install"
desc <<-DESC