From 8854ed14dbce833be8bd42cf7a7f0e71bb9bab20 Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Fri, 6 Apr 2012 09:32:31 +0800 Subject: [PATCH] Copy mongohq example conf on heroku --- lib/tasks/errbit/bootstrap.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tasks/errbit/bootstrap.rake b/lib/tasks/errbit/bootstrap.rake index 5c9470b..a752723 100644 --- a/lib/tasks/errbit/bootstrap.rake +++ b/lib/tasks/errbit/bootstrap.rake @@ -7,7 +7,7 @@ namespace :errbit do configs = { 'config.example.yml' => 'config.yml', 'deploy.example.rb' => 'deploy.rb', - 'mongoid.example.yml' => 'mongoid.yml' + (ENV['HEROKU'] ? 'mongoid.mongohq.yml' : 'mongoid.example.yml') => 'mongoid.yml' } puts "Copying example config files..." -- libgit2 0.21.2