Skip to content
Browse files

Update simple example for cap deploy

  • Loading branch information...
1 parent 6a45ddb commit 53b76b83cb9c134b852589ff747f4025b604ec9e @nesquena committed Jan 19, 2012
Showing with 13 additions and 9 deletions.
  1. +13 −9 examples/simple/deploy.rb
View
22 examples/simple/deploy.rb
@@ -19,18 +19,22 @@
set :use_sudo, true
set :branch, 'production'
+ssh_options[:forward_agent] = true
+ssh_options[:keys] = [File.join(ENV["HOME"], ".ssh", "id_rsa")]
+ssh_options[:paranoid] = false
+default_run_options[:pty] = true
+
# =============================================================================
# RECIPE INCLUDES
# =============================================================================
require 'rubygems'
-require 'cap_recipes/tasks/whenever'
-require 'cap_recipes/tasks/apache'
-require 'cap_recipes/tasks/passenger'
-require 'cap_recipes/tasks/memcache'
-require 'cap_recipes/tasks/juggernaut'
-require 'cap_recipes/tasks/delayed_job'
-require 'cap_recipes/tasks/rails'
+require "bundler/capistrano"
+# require 'cap_recipes/tasks/whenever'
+# require 'cap_recipes/tasks/passenger'
+# require 'cap_recipes/tasks/apache'
+# require 'cap_recipes/tasks/memcache'
+# require 'cap_recipes/tasks/juggernaut'
+# require 'cap_recipes/tasks/delayed_job'
+# require 'cap_recipes/tasks/rails'
-ssh_options[:paranoid] = false
-default_run_options[:pty] = true

0 comments on commit 53b76b8

Please sign in to comment.
Something went wrong with that request. Please try again.