Update announcement.gemspec

This commit is contained in:
chiu 2020-02-14 15:58:24 +08:00
parent 8791d08081
commit 12b4eeb141
1 changed files with 2 additions and 2 deletions

View File

@ -35,11 +35,11 @@ if old_gemfile_text != new_gemfile_text
File.open(ENV['PWD']+'/Gemfile', 'w') do |file|
file.write new_gemfile_text
end
mode = Rails.env.inspect
a = Thread.start do
Bundler.with_clean_env do
puts ENV['PWD']
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")
%x [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