Change deploy.rb

This commit is contained in:
konstantin.grabar 2011-10-31 14:49:11 +04:00
parent 680f78475a
commit 1480991abd
1 changed files with 4 additions and 0 deletions

View File

@ -41,6 +41,10 @@ task :symlink_config_files do
run "ln -nfs #{shared_path}/config/application.yml #{release_path}/config/application.yml"
end
task :symlink_downloads_dir do
run "ln -nfs #{shared_path}/downloads/ #{release_path}/public/downloads"
end
task :generate_roles do
run "cd #{deploy_to}/current ; RAILS_ENV=production bundle exec rake rights:generate"
#run "cd #{deploy_to}/current ; RAILS_ENV=production bundle exec rake roles:load"