diff options
| author | mo khan <mo@mokhan.ca> | 2013-07-26 16:32:54 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2013-07-26 16:32:54 -0600 |
| commit | f332696e06d5321ffbfe6f68c66a9cfb4ce97018 (patch) | |
| tree | b66342205529ccacfa5b58d09bf250e7df74081e /config/recipes/postgresql.rb | |
| parent | 3afba06749da92c9d2a47d3cc4d16477d7315491 (diff) | |
replace 'production' environment with 'rails_env' to allow for developer specific environments
Diffstat (limited to 'config/recipes/postgresql.rb')
| -rw-r--r-- | config/recipes/postgresql.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/recipes/postgresql.rb b/config/recipes/postgresql.rb index 1158b6e..014b109 100644 --- a/config/recipes/postgresql.rb +++ b/config/recipes/postgresql.rb @@ -1,7 +1,7 @@ set_default(:postgresql_host, "localhost") set_default(:postgresql_user) { application } set_default(:postgresql_password) { Capistrano::CLI.password_prompt "PostgreSQL Password: " } -set_default(:postgresql_database) { "#{application}_production" } +set_default(:postgresql_database) { "#{application}_#{rails_env}" } set_default(:postgresql_pid) { "/var/run/postgresql/9.1-main.pid" } namespace :postgresql do |
