====== Removing an application completely from the server ======
There is no gem command to remove an application at the moment - so as to prevent accidental database drops.
However you can follow this procedure to get rid of an application deployed with the gem
- Remove the database by runningRAILS_ENV=production rake db:drop from the current release directory.
- Remove the application directory in ''/home/rails''
- Run find /etc -name 'rails-{yourappname}*' -print and remove the files found corresponding to your application.
- reload monit with cap deploy:monit:reload
- reload the web server with cap deploy:web:reload