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

  1. Remove the database by running
    RAILS_ENV=production rake db:drop

    from the current release directory.

  2. Remove the application directory in /home/rails
  3. Run
    find /etc -name 'rails-{yourappname}*' -print

    and remove the files found corresponding to your application.

  4. reload the web server with
    cap deploy:web:reload
docs/gemv2/deleting.txt · Last modified: 2014/06/03 22:11 by ben