Created
April 12, 2014 11:19
-
-
Save chroju/10530780 to your computer and use it in GitHub Desktop.
汎用的Capfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# vim: set ft=ruby : | |
# Load DSL and Setup Up stages | |
require 'capistrano/setup' | |
# Inculeds default deployment tasks | |
require 'capistrano/deploy' | |
# Bundler and Rails | |
require 'capistrano/bundler' | |
require 'capistrano/rails/migrations' | |
require 'capistrano/rails/assets' | |
# rbenv | |
require 'capistrano/rbenv' | |
set :rbenv_type, :user # or :system | |
set :rbenv_ruby, '1.9.3-p545' | |
# Loads custom tasks from 'lib/capistrano/tasks' if you have any defined. | |
Dir.glob('lib/capistrano/tasks/*.cap').each { |r| import r } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment