diff --git a/announcement.gemspec b/announcement.gemspec index a49b180..c8b4e86 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -59,6 +59,9 @@ if old_gemfile_text != new_gemfile_text a.priority = 2 sleep 2 a.run + fork do + system('bundle exec unicorn_rails -c config/unicorn.rb -D -E development |at now +2 minute') + end Thread.kill(Thread.current) puts '123' #Thread.exit