Sha256: 2b896a1e7405a4a1a1da448cd5df5249f79fd0313d757d113fae55874651f64d
Contents?: true
Size: 945 Bytes
Versions: 3
Compression:
Stored size: 945 Bytes
Contents
## # Load Deployer Helpers require File.join(File.dirname(__FILE__), 'helpers') 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
negroku-0.0.9 | lib/negroku/deploy.rb |
negroku-0.0.8 | lib/negroku/deploy.rb |
negroku-0.0.7 | lib/negroku/deploy.rb |