Remove An Application

Removing a Rails application from your server is a relatively simple process.
First, shut down your application’s mongrel servers (from your local development machine)

cap app:stop

Now, in a shell on your Rails Machine VPS, do the following. Be warned, this will remove your SVN repository as well, so back that up (/var/www/apps/[yourapp]/repos) first if you need to keep it!

sudo rm -rf /var/www/apps/[yourapp]
sudo rm /etc/mongrel_cluster/[yourapp].conf
sudo rm /etc/httpd/conf/apps/[yourapp].conf
sudo /etc/init.d/httpd restart
Meta