From 64e191f60e606d9fa9785af0ffea710b0a0f0475 Mon Sep 17 00:00:00 2001 From: Artem Chernikov Date: Thu, 17 Jul 2014 10:39:49 +0200 Subject: [PATCH] Load env on deploy --- config/deploy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/deploy.rb b/config/deploy.rb index 1a6a1da1..2ffab60a 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -43,7 +43,7 @@ task :deploy => :environment do end desc 'Notifies the exception handler of the deploy.' -task :notify_errbit do +task :notify_errbit => :environment do revision = `git rev-parse HEAD`.strip user = ENV['USER'] queue "bundle exec rake hoptoad:deploy TO=#{rails_env} REVISION=#{revision} REPO=#{repository} USER=#{user}"