bin/depify in deprec-2.0.0 vs bin/depify in deprec-2.0.1
- old
+ new
@@ -41,14 +41,19 @@
# Include settings that you want active whenever you use Capistrano
# You can over ride these for particular projects by putting entries
# into Capfile or deploy.rb for those projects
#
# Uncomment any of the following entries to enable them.
- #
+
# Include deprec - deployment recipes for Capistrano (www.deprec.org)
#
- require 'deprec'
+ # This loads all recipes minus the ones in rails.rb
+ # The recipes in rails.rb add 'before' and 'after' tasks to
+ # some of the builtin cap deploy tasks which are not appropriate
+ # for deploying a project that isn't setup to use deprec.
+ #
+ require 'deprec_minus_rails'
FILE
files = {
"Capfile" => unindent(<<-FILE),
@@ -67,13 +72,13 @@
# If you aren't using Subversion to manage your source code, specify
# your SCM below:
set :scm, :git
- set :ruby_vm_type, :ree
- set :web_server_type, :apache
- set :app_server_type, :passenger
- set :db_server_type, :mysql
+ set :ruby_vm_type, :ree # :ree, :mri
+ set :web_server_type, :apache # :apache, :nginx
+ set :app_server_type, :passenger # :passenger, :mongrel
+ set :db_server_type, :mysql # :mysql, :postgresql, :sqlite
# set :packages_for_project, %w(libmagick9-dev imagemagick libfreeimage3) # list of packages to be installed
# set :gems_for_project, %w(rmagick mini_magick image_science) # list of gems to be installed
# Update these if you're not running everything on one host.