mperham/sidekiq — pull request #147 by bzanchet (2012-04-19 21:32:12+00:00)
Title: Honoring the bundle_cmd variable on capistrano tasks

The bundler gem itself uses the bundle_cmd variable to allow the bundle command to be overridden (https://github.com/carlhuda/bundler/blob/master/lib/bundler/deployment.rb#L39) - this is needed when it's not on the default path (eg: set :bundle_cmd, "/usr/local/ruby/bin/bundle").

Just using bundle_cmd instead of "bundler" when it is set.