Sha256: da8f9d083f80c6911e7f924c9c08e42b375e90a3beaf179d4d49f38bcd075b72
Contents?: true
Size: 961 Bytes
Versions: 8
Compression:
Stored size: 961 Bytes
Contents
## # Load Deployer Helpers require File.join(File.dirname(__FILE__), 'helpers') # Base settings set :scm, 'git' set :deploy_via, :remote_cache set :use_sudo, false ## # Default Configuration set :remote, 'origin' unless respond_to?(:remote) set :branch, 'master' unless respond_to?(:branch) # Default environment set :rails_env, 'production' unless respond_to?(:rails_env) ## Default path set :default_environment, { 'PATH' => "$HOME/.rbenv/shims:$HOME/.rbenv/bin:$PATH" } # Run on Linux: `$ ssh-add` or on OSX: `$ ssh-add -K` for "forward_agent". ssh_options[:forward_agent] = true ssh_options[:port] = 22 default_run_options[:pty] = true # Use the bundler capistrano task to deploy to the shared folder require "bundler/capistrano" set :bundle_flags, "--deployment --binstubs" ## # Load Deployment Tasks load_tasks('base') load_tasks('log') load_tasks('rbenv') load_tasks('nginx') load_tasks('unicorn')
Version data entries
8 entries across 8 versions & 1 rubygems