-7hx_a
Last Updated: February 25, 2016
·
124
· lcguida
61286bced0ae2da15261439d1bb62297

Executing bundler in a Capistrano task

To execute any bundle commands in a Capistrano task:

task :my_task do 
  execute :bundler, "exec rails s"
end

Just make sure you have required capistrano/bundler in your Capfile:

# Capfile 

require 'capistrano/bundler'
Say Thanks
Respond