lib/airbrake/capistrano/tasks.rb in airbrake-5.0.5 vs lib/airbrake/capistrano/tasks.rb in airbrake-5.1.0

- old
+ new

@@ -7,10 +7,10 @@ on role do within release_path do with rails_env: fetch(:rails_env, fetch(:stage)) do execute :rake, <<-CMD airbrake:deploy USERNAME=#{Shellwords.shellescape(local_user)} \ - ENVIRONMENT=#{fetch(:rails_env, fetch(:stage))} \ + ENVIRONMENT=#{fetch(:airbrake_env, fetch(:rails_env, fetch(:stage)))} \ REVISION=#{fetch(:current_revision)} \ REPOSITORY=#{fetch(:repo_url)} \ VERSION=#{fetch(:app_version)} CMD