Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

use vagrant ssh key instead

  • Loading branch information...
commit 2445e31e778da256dc882cfedf6af04ce9c51974 1 parent 486a566
@jsierles authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 config/deploy.rb
View
6 config/deploy.rb
@@ -12,11 +12,17 @@
default_run_options[:pty] = true
ssh_options[:forward_agent] = true
+ssh_options[:keys] = [File.join(ENV["HOME"], ".vagrant.d", "insecure_private_key")]
role :app, "kayak.test"
role :web, "kayak.test"
role :db, "kayak.test", :primary => true
+after "deploy:setup" do
+ deploy.fast_git_setup.clone_repository
+ run "cd #{current_path} && bundle install"
+end
+
namespace :unicorn do
desc "Start unicorn for this application"
task :start do
Please sign in to comment.
Something went wrong with that request. Please try again.