mirror of
https://github.com/capistrano/capistrano
synced 2023-03-27 23:21:18 -04:00
Merge pull request #1179 from betesh/master
made the deploy.rb template show better examples of how to set linked_dirs and linked_files. refs #922
This commit is contained in:
commit
b7067533af
1 changed files with 2 additions and 2 deletions
|
@ -23,10 +23,10 @@ set :repo_url, 'git@example.com:me/my_repo.git'
|
|||
# set :pty, true
|
||||
|
||||
# Default value for :linked_files is []
|
||||
# set :linked_files, %w{config/database.yml}
|
||||
# set :linked_files, fetch(:linked_files, []).push('config/database.yml')
|
||||
|
||||
# Default value for linked_dirs is []
|
||||
# set :linked_dirs, %w{bin log tmp/pids tmp/cache tmp/sockets vendor/bundle public/system}
|
||||
# set :linked_dirs, fetch(:linked_dirs, []).push('bin', 'log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'vendor/bundle', 'public/system')
|
||||
|
||||
# Default value for default_env is {}
|
||||
# set :default_env, { path: "/opt/ruby/bin:$PATH" }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue