Skip to content

Instantly share code, notes, and snippets.

@roidrage
Created January 20, 2009 16:45
Show Gist options
  • Save roidrage/49553 to your computer and use it in GitHub Desktop.
Save roidrage/49553 to your computer and use it in GitHub Desktop.
load 'deploy' if respond_to?(:namespace) # cap2 differentiator
Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
load 'config/deploy'
gem 'mattmatt-cap-ext-webistrano'
require 'cap-ext-webistrano'
set :application, "Other Project"
set :user, "admin"
set :password, "admin"
set :webistrano_home, "http://localhost:3000"
set :stage do
Capistrano::CLI.ui.ask "Specify the stage to deploy: "
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment