Commit 8854ed14dbce833be8bd42cf7a7f0e71bb9bab20
1 parent
c1b1d14a
Exists in
master
and in
1 other branch
Copy mongohq example conf on heroku
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/tasks/errbit/bootstrap.rake
... | ... | @@ -7,7 +7,7 @@ namespace :errbit do |
7 | 7 | configs = { |
8 | 8 | 'config.example.yml' => 'config.yml', |
9 | 9 | 'deploy.example.rb' => 'deploy.rb', |
10 | - 'mongoid.example.yml' => 'mongoid.yml' | |
10 | + (ENV['HEROKU'] ? 'mongoid.mongohq.yml' : 'mongoid.example.yml') => 'mongoid.yml' | |
11 | 11 | } |
12 | 12 | |
13 | 13 | puts "Copying example config files..." | ... | ... |