Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

13 lines (11 sloc) 0.405 kb
load 'deploy' if respond_to?(:namespace) # cap2 differentiator
Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
load 'config/deploy'
namespace :deploy do
task :symlink_config_files do
["config/database.yml"].each do |file|
run "ln -s #{deploy_to}/shared/files/#{file} #{deploy_to}/current/#{file}"
end
end
end
after "deploy:symlink", "deploy:symlink_config_files"
Jump to Line
Something went wrong with that request. Please try again.