1
0
Fork 0
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:
Lee Hambley 2014-11-09 19:05:54 +01:00
commit b7067533af

View file

@ -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" }