0
之前我使用Capistrano的,而每当宝石,在一个新的部署到服务器,而无需安装,只要创业板,Capistrano的尝试运行防止whenenver宝石宝石从安装
每当运行--clear-的crontab - 明确的crontab
耙宝石BEFORE:install命令已运行,其清晰的(从this),这个命令运行后deploy_code但这样做我的命令安装宝石(下)..
after "deploy:update_code", "deploy:symlink_config"
deploy.task :symlink_config, :roles => :app do
# create a symlink to the database.yml file located in the shared_path
run "ln -nsf #{shared_path}/config/database.yml #{current_release}/config"
# install any missing gems
run "cd #{current_release} && sudo rake gems:install --trace RAILS_ENV=#{rails_env}"
# migrate the database
run "cd #{current_release} && rake db:migrate --trace RAILS_ENV=#{rails_env}"
end
有没有方法来订购这些tas KS,因为在寒冷的部署,我总是得到每当:未发现,并具有远程服务器