Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 505c8c17bc
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (24 sloc) 0.97 kb
set :application, "railsbridge-site2"
set :repository, "git://github.com/eladmeidar/railsbridge-site.git"
set :user, "rbadmin"
set :use_sudo, true
set :deploy_via, :fast_remote_cache
set :scm, :git
# Customise the deployment
set :tag_on_deploy, false # turn off deployment tagging, we have our own tagging strategy
set :keep_releases, 6
after "deploy:update", "deploy:cleanup"
after "deploy:update", "deploy:link_config"
# directories to preserve between deployments
set :asset_directories, ['public/system/site_images']
set :compress_assets, false
# Gem dependencies - not needed with config.gem?
# depend :remote, :gem, "authlogic", "=2.0.14"
# depend :remote, :gem, "mislav-will_paginate", "=2.2.3"
# depend :remote, :gem, "jscruggs-metric_fu", "=1.0.2"
namespace :deploy do
desc "Re-link config files"
task :link_config, :roles => :app do
run "ln -nsf #{shared_path}/config/database.yml #{current_path}/config/database.yml"
end
end
Jump to Line
Something went wrong with that request. Please try again.