Skip to content

Instantly share code, notes, and snippets.

@scullygroup
Created February 7, 2009 19:32
Show Gist options
  • Save scullygroup/60011 to your computer and use it in GitHub Desktop.
Save scullygroup/60011 to your computer and use it in GitHub Desktop.
#for use with shared files (e.g. config files)
after "deploy:update_code" do
run "ln -s #{shared_path}/environment.rb #{release_path}/config"
run "ln -s #{shared_path}/database.yml #{release_path}/config"
run "ln -s #{shared_path}/facebooker.yml #{release_path}/config"
run "chown bluesky:psaserv /var/www/vhosts/blueskywebapps.com/subdomains/cookie/httpdocs"
end
after "deploy:symlink" do
run "chown -R bluesky:psacln /var/www/vhosts/blueskywebapps.com/subdomains/cookie/httpdocs/current"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment