Browse files

No need to define `deploy:rollback` for Capistrano in deploy.example.rb

Gave error:

defining a task named `rollback' would shadow an existing namespace with that name

Reported by Jan Minarik. Sorry.
  • Loading branch information...
1 parent f854df6 commit 8b5ce9b5319bf7fb3fff944d2c8a178eb344e6d3 @karmi committed Jun 14, 2009
Showing with 0 additions and 7 deletions.
  1. +0 −7 config/deploy.example.rb
View
7 config/deploy.example.rb
@@ -142,13 +142,6 @@
update
start
end
-
- desc "Return to previous version"
- task :rollback do
- stop
- rollback_code
- start
- end
desc "Restart the webserver"
task :restart, :roles => :app do

0 comments on commit 8b5ce9b

Please sign in to comment.