开发者

Rails deployment - best way [closed]

开发者 https://www.devze.com 2023-04-03 01:55 出处:网络
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 10 years ago.

There are several ways 开发者_如何学Cwith 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?


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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消