Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Capistrano Bundler: How to make it verbose?

Is it possible to let Capistrano print the output of bundler, when running the bundle command?

On the local machine it usually prints "using rails 4.2.1" etc. and I would love to have the same when deploying to my live server.

like image 597
pastullo Avatar asked Oct 29 '15 12:10

pastullo


1 Answers

This is because Capistrano uses Bundler with the options --deployment --quiet by default. So the --quiet suppresses the desired output.

Add the following line to the production configuration of Capistrano:

set :bundle_flags, '--deployment'

You can find out more about Capistranos Bundler plugin from its repository.

like image 103
Robin Avatar answered Nov 04 '22 23:11

Robin