Mina is a similar tool, but faster. The reason why it runs faster is because it generates a bash script, uploads it to the server and run there, rather than creating a new ssh session and run every command one by one. Mina is one of our default tools at Red Panthers. To use mina in your project, add mina to your Gemfile.
gem 'mina'and to get started do
mina inithttp://nadarei.co/mina/setting_up_a_project.html https://www.digitalocean.com/community/tutorials/how-to-deploy-with-mina-getting-started Having a one step deployment is an important requirement for any project so have one ready using mina or capistrano. Note: Assets pre-compile
invoke :'rails:assets_precompile'Run another rake task
invoke 'production_backup' if RAILS_ENV == 'production'Run shell commands
queue "sudo service myapp restart"The syntax queue is referring to the fact that, the commands are all made into a single shell script and then later executed together. ]]>