Deploying a Rails Application
To set up the production environment:
Set up the production server as instructed.
Navigate to the Rails project
file and open
in the editor.
Set up the database configuration preferences as required
for the production server being used.
Right-click the project file and select:
To deploy using Capistrano:
You can use
Capistrano to deploy your application.
Install the Capistrano gem from the
gem install capistrano
Create a deployment recipe using steps provided in the Capistrano help.
Run the rake command from the
and reveal avialable task options:
Create the setup task:
cap -a setup
Run the rake cold_deploy task:
Right-click the project in the
and product names are service marks, trademarks or registered trademarks of Borland Software
Corporation in the United States and other countries.