Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* Hacking Capify script so the resulting deploy.rb is cleaner

  • Loading branch information...
commit 836ac1017ccf9232fb91f94f875dbe561f090838 1 parent 9a9628b
@leehambley leehambley authored
Showing with 3 additions and 11 deletions.
  1. +3 −11 bin/capify
View
14 bin/capify
@@ -44,25 +44,17 @@ files = {
FILE
"config/deploy.rb" => unindent(<<-FILE),
-##
-## Generated By Capistrano #{Capistrano::Version}
-##
-
set :application, "set your application name here"
set :repository, "set your repository location here"
-# If you aren't using Subversion to manage your source code, specify
-# your SCM below:
-# set :scm, :subversion
-# see a full list by running "gem contents capistrano | grep 'scm/'"
+set :scm, :subversion
+# Or: `accurev`, `bzr`, `cvs`, `darcs`, `git`, `mercurial`, `perforce`, `subversion` or `none`
role :web, "your web-server here" # Your HTTP server, Apache/etc
-
role :app, "your app-server here" # This may be the same as your `Web` server
-
role :db, "your db-server here", :primary => true # This is where Rails migrations will run
role :db, "your backup db-server here"
- FILE
+FILE
}
base = ARGV.shift
Please sign in to comment.
Something went wrong with that request. Please try again.