Permalink
Browse files

use sudo

  • Loading branch information...
Jason Adam Young
Jason Adam Young committed May 16, 2012
1 parent 6e2385b commit 76e7a2d81aa98471e80501166157a4be2bbbdb1e
Showing with 1 addition and 9 deletions.
  1. +1 −9 config/deploy.rb
View
@@ -18,7 +18,7 @@
set :repository, "git@github.com:extension/#{application}.git"
set :scm, "git"
-set :use_sudo, false
+set :use_sudo, true
set :ruby, "/usr/local/bin/ruby"
ssh_options[:forward_agent] = true
set :port, 24
@@ -41,14 +41,6 @@
desc "Deploy the #{application} application with migrations"
task :default, :roles => :app do
-
- # allow a custom branch
- if(stage == 'demo')
- if(branch = ENV['BRANCH'])
- set :branch, branch
- end
- end
-
# Invoke deployment with migrations
deploy.migrations
end

0 comments on commit 76e7a2d

Please sign in to comment.