Skip to content

Instantly share code, notes, and snippets.

@asgerb
Created July 25, 2014 12:32
Show Gist options
  • Save asgerb/1a0aa7ffbf2fc2183941 to your computer and use it in GitHub Desktop.
Save asgerb/1a0aa7ffbf2fc2183941 to your computer and use it in GitHub Desktop.
deploy.rb
# config valid only for Capistrano 3.1
lock '3.2.1'
# ---------------------------------------------------------------------
server 'server', roles: %w{web app db}
set :application, 'app_name'
set :user, 'deployer'
set :repo_url, "repo"
set :git_enable_submodules, 1
set :bundle_flags, '--verbose'
set :chruby_ruby, 'rubinius-2.2.10'
set :shared_path, '~/public_html/app_name'
set :pty, true
set :linked_files, %w{config/secrets.yml}
set :linked_dirs, %w(public/system)
# ---------------------------------------------------------------------
set :ssh_options, { :forward_agent => true }
# ---------------------------------------------------------------------
set :normalize_asset_timestamps, false
# ---------------------------------------------------------------------
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment