Not long ago I upgraded a Rails project I have maintained and enhanced since 2010 (!) from Rails 2 (!) to Rails 6. As part of the upgrade I moved up to Capistrano 3.
But I have not been able to get a deploy to restart Rails running under Passenger. I've tried two gems: 'capistrano-passenger' and 'capistrano-passenger-restart' and neither works though I see the task executed: $ cap project1 deploy --trace .... ** Invoke deploy:restart (first_time) ** Execute deploy:restart I've also tried executing a shell command to touch tmp/restart.txt with this task: task :restart do on roles(:app) do within current_path do execute :touch, 'tmp/restart.txt' end end end without success. So if anyone is using Capistrano 3 and Passenger, how do you restart Rails after a deploy? Thanks, Scott -- -- SD Ruby mailing list [email protected] http://groups.google.com/group/sdruby --- You received this message because you are subscribed to the Google Groups "SD Ruby" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/sdruby/d31bc5cf-6dd6-4a29-aee8-a1c097ddc3c8n%40googlegroups.com.
