Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails deployment - best way [closed]

There are several ways with which a RoR application can be deployed. What is the best way to deploy a Ruby on Rails application? Capistrano, normal SVN checkout, git pull or any other tool?

like image 773
Pravin Avatar asked Sep 06 '11 08:09

Pravin


2 Answers

As for me I use old-good Capistrano. It supports many CVS systems like git, svn .. Once created recipes helps me in every project. I just copy them to config/deploy folder and change meta info about project. It is simple and quite easy to use.

like image 159
bor1s Avatar answered Oct 12 '22 01:10

bor1s


SCM aware deployment using capistrano is simple and clean.

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

The above article explores the other options like:

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

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

like image 44
Arun Kumar Arjunan Avatar answered Oct 12 '22 02:10

Arun Kumar Arjunan