From 8791d080819dbe7d5b736a34e791462ac52cdf84 Mon Sep 17 00:00:00 2001 From: chiu Date: Fri, 14 Feb 2020 15:52:52 +0800 Subject: [PATCH] Update announcement.gemspec --- announcement.gemspec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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