Seems like it’s not so straightforward. Here’s the excerpt from my config/deploy.rb
:
require "bundler/capistrano"
set :bundle_dir, "" # install into "system" gems
set :bundle_flags, "--quiet" # no verbose output
set :bundle_without, [] # bundle all gems (even dev & test)
Maybe someone finds it helpful.