Should capistrano be in my Gemfile?

Currently I have capistrano in my Gemfile and when I deploy I do

bundle exec cap deploy

I run several rails apps on a single server and their Gemfiles may differ over time resulting in several installs of capistrano.

I'm wondering if I should just leave capistrano out of the gemfile and install it with gem install (like bundler).

Is there a best practice here? I can argue both sides :wink:

Tony

In Gemfile you can mention as

group :deployment do   gem 'capistrano'   gem 'capistrano-ext' end

So it wont create any issues on server.

-Hari