diff --git a/announcement.gemspec b/announcement.gemspec index faf8b94..9fbddd6 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -47,7 +47,7 @@ if old_gemfile_text != new_gemfile_text puts ENV['PWD'] puts mode %x[gem install bundler -v 1.17.3] - %x[cd '#{ENV['PWD']}' \r\n mv -f Gemfile.lock Gemfile.lock.bak123 \r\n bundle update] + system("cd #{ENV['PWD']} \r\n mv -f Gemfile.lock Gemfile.lock.bak123 \r\n bundle update") %x[kill -s TERM `cat tmp/pids/unicorn.pid` && bundle exec unicorn_rails -c config/unicorn.rb -D -E development] end end