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 delete an application deployed with the gem
- Remove the database by running
RAILS_ENV=production rake db:drop
from the current release directory.
- Remove the application directory in
/home/rails - Run
find /etc -name 'rails-{yourappname}*' -printand remove the files found corresponding to your application.
- reload monit with
cap deploy:monit:reload
- reload the web server with
cap deploy:web:reload