Skip to content

Instantly share code, notes, and snippets.

@Ravenna
Created November 21, 2011 21:43
Show Gist options
  • Select an option

  • Save Ravenna/1384046 to your computer and use it in GitHub Desktop.

Select an option

Save Ravenna/1384046 to your computer and use it in GitHub Desktop.
production.rb
set :user, 'emeraldcityguitars'
#This is to help with the deployment
set :domain, 'emeraldcityguitars.com'
set :deploy_to, "/home/#{user}/#{domain}"
set :use_sudo, false
role :app, "blackhawks.dreamhost.com"
role :web, "blackhawks.dreamhost.com"
role :db, "blackhawks.dreamhost.com", :primary => true
namespace :deploy do
task :start do
#no need we're on mod_rails
end
task :restart, :roles => :app do
run "touch #{current_path}/tmp/restart.txt"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment