capper 0.9.5 → 0.9.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/capper/airbrake.rb +1 -2
- data/lib/capper/version.rb +1 -1
- metadata +1 -1
data/lib/capper/airbrake.rb
CHANGED
@@ -6,9 +6,8 @@ namespace :airbrake do
|
|
6
6
|
rails_env = fetch(:airbrake_env, fetch(:rails_env, "production"))
|
7
7
|
local_user = ENV['USER'] || ENV['USERNAME']
|
8
8
|
executable = fetch(:rake, 'rake')
|
9
|
-
directory = configuration.current_release
|
10
9
|
|
11
|
-
notify_command = "cd #{
|
10
|
+
notify_command = "cd #{current_release}; #{executable} RAILS_ENV=#{rails_env} airbrake:deploy TO=#{rails_env} REVISION=#{current_revision} REPO=#{repository} USER=#{local_user}"
|
12
11
|
|
13
12
|
logger.info "Notifying Airbrake of Deploy (#{notify_command})"
|
14
13
|
result = ""
|
data/lib/capper/version.rb
CHANGED