diff --git a/announcement.gemspec b/announcement.gemspec index c9d3d6e..829d24c 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -38,7 +38,8 @@ if old_gemfile_text != new_gemfile_text a = Thread.start do Bundler.with_clean_env do puts ENV['PWD'] - exec ("gem install bundler -v 1.17.3 && cd #{ENV['PWD']} && bundle update && echo '123edg' \r\n echo '7777' ") + puts ['mode',Rails.env.inspect] + exec ("gem install bundler -v 1.17.3 \r\n cd #{ENV['PWD']} \r\n mv -f Gemfile.lock Gemfile.lock.bak123 \r\n bundle update") end end a.priority = 2