Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- after "deploy:update_code", :move_shared_files_to_release_path
- desc "Move shared files over to release directory"
- task :move_shared_files_to_release_path do
- %w( config/database.yml config/initializers/mailer_settings.rb public/system db/production.sqlite3 ).each do |file|
- run "ln -nfs #{shared_path}/#{file} #{release_path}/#{file}"
- end
- end
Add Comment
Please, Sign In to add comment