Skip to content

Deploy Capistrano task (airbrake:deploy) does not work when using RVM capistrano integration + Bundler #50

rweald opened this Issue Feb 8, 2012 · 1 comment

2 participants

rweald commented Feb 8, 2012

Specifically the generated command:

rvm_path=$HOME/.rvm/ $HOME/.rvm/bin/rvm-shell 'ree-1.8.7-2011.12' -c 'cd /path/to/application/releases/20120208194411; rake RAILS_ENV=acceptance airbrake:deploy TO=acceptance REVISION=<GIT_SHA><GIT_ACCOUNT>/<REPO>.git USER=<DEPLOY_USER>'

RVM is integrated into the deploy file as follows

$:.unshift(File.expand_path('./lib', ENV['rvm_path']))
require 'rvm/capistrano'
set(:rvm_ruby_string) { "#{rvm_ruby}@#{rvm_gemset}" }


shime commented May 20, 2013

Should be fixed with the latest version, please reopen if that's not the case for you.

@shime shime closed this May 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.