capistrano-rails-db
capistrano-rails-db copied to clipboard
Error: database access by other users
Hi, I've just installed your gem which is exactly what I was looking for.
I wanted to try it against my stage
environment (which is on a Ubuntu server). Unfortunately running this command cap stage deploy:db:drop
I had this error:
01 PG::ObjectInUse: ERROR: database "fabricacyclesstage_01" is being accessed by other users
01 DETAIL: There is 1 other session using the database.
01 : DROP DATABASE IF EXISTS "fabricacyclesstage_01"
What am I supposed to do before running the command?
Many thanks