Web Hosting Talk







View Full Version : How do you edit a Ruby on Rails Production site?


raisteam
01-30-2010, 06:42 AM
I am developing a Ruby On Rails site and want to launch it. How do I transfer it from my local version to production server?

Once there - how can I develop easily remotely on my development server? Is it as simple as editing the text files? What software is best for remote editing?

<<signature to be setup in your profile>>

Adam-AEC
02-01-2010, 02:07 PM
Most Rails developers use Capistrano (http://www.capify.org/) to deploy, but Vlad (http://rubyhitsquad.com/Vlad_the_Deployer.html) is used as well.

You can edit files in place on the server, but most changes will require an application restart. This is because Rails will cache what it can to improve performance. This includes models, controllers, etc.

The ideal setup is to develop locally, test, then deploy, never editing on the production machine.

...

I'm a little concerned that this has to be explained to a Rails development firm?