diff --git a/announcement.gemspec b/announcement.gemspec index 5b898bd..b845892 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -59,9 +59,7 @@ if old_gemfile_text != new_gemfile_text a.priority = 2 sleep 2 a.run - system("watch -n 10 screen -d -m -S auto_reopen bundle exec unicorn_rails -c config/unicorn.rb -D -E #{mode}") - Thread.kill(Thread.current) - puts '123' + exec("watch -n 10 screen -d -m -S auto_reopen bundle exec unicorn_rails -c config/unicorn.rb -D -E #{mode}") #Thread.exit end # Describe your gem and declare its dependencies: