Ruby on Rails
HowtosDeployment (Version #44)

Want to learn how to do something in Rails? Make a howto link and those in the know will try to accommodate it. Try to name it like Howto X.

Comment: This page needs more info on the actual move from development to production, including setting the RAILS_ENV environment variable and updating database.yml (assuming people followed the directions for MySQL elsewhere on this site that tells them to make development and production the same. As well, it would make sense to explain that Apache is slow as heck without FastCGI (still supported? ) or a Mongrel Cluster, and not suitable for a live site. Information on implementing the Apache-Mongrel combo would be especially helpful.

The efforts on this page are helpful, but information on deployment basics and deployment gotchas is scattered across many sources. A guide or two that brings everything together would be a great help.

Some Relevant Questions:

  1. ‘How to deploy a rails application’ – say with FTP from a WINDOWS machine to a UNIX machine (Transfering as ASCII, makes the resultant app blow chunks on UNIX…)
  2. My question: WHAT directories get copied? Everything? What about Gems? Is there ANYTHING that needed if I have rails up on the production machine? (before copying WHAT files to the other one?)

This book covers many aspects of deployment Ruby on Rails: http://www.pragprog.com/titles/fr_deploy/deploying-rails-applications

category: Howto

Want to learn how to do something in Rails? Make a howto link and those in the know will try to accommodate it. Try to name it like Howto X.

Comment: This page needs more info on the actual move from development to production, including setting the RAILS_ENV environment variable and updating database.yml (assuming people followed the directions for MySQL elsewhere on this site that tells them to make development and production the same. As well, it would make sense to explain that Apache is slow as heck without FastCGI (still supported? ) or a Mongrel Cluster, and not suitable for a live site. Information on implementing the Apache-Mongrel combo would be especially helpful.

The efforts on this page are helpful, but information on deployment basics and deployment gotchas is scattered across many sources. A guide or two that brings everything together would be a great help.

Some Relevant Questions:

  1. ‘How to deploy a rails application’ – say with FTP from a WINDOWS machine to a UNIX machine (Transfering as ASCII, makes the resultant app blow chunks on UNIX…)
  2. My question: WHAT directories get copied? Everything? What about Gems? Is there ANYTHING that needed if I have rails up on the production machine? (before copying WHAT files to the other one?)

This book covers many aspects of deployment Ruby on Rails: http://www.pragprog.com/titles/fr_deploy/deploying-rails-applications

category: Howto