Deploying Rails is the Best Way

There are several ways to deploy a RoR application. What is the best way to deploy a Ruby on Rails application? Capistrano, regular svn check, git pull or any other tool?

+6
source share
2 answers

SCM deployment using capistrano is simple and clean.

http://www.slideshare.net/hyfather/deployment-patterns-in-the-ruby-on-rails-world

The above article discusses other options, for example:

Distributing your application as first class linux packages such as RPM / DEB, or distributing the application as a WAR file, or even releasing the entire application as a ruby ​​gem.

The presentation even explains the pros and cons of all the options mentioned.

+3
source

As for me, I use the good old Capistrano. It supports many CVS systems, such as git, svn .. When the created recipes help me in every project. I just copied them to the config/deploy folder and changed the project meta information. It is simple and fairly easy to use.

+6
source

Source: https://habr.com/ru/post/896692/


All Articles