Update announcement.gemspec
This commit is contained in:
parent
8791d08081
commit
12b4eeb141
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue