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.open(ENV['PWD']+'/Gemfile', 'w') do |file|
|
||||||
file.write new_gemfile_text
|
file.write new_gemfile_text
|
||||||
end
|
end
|
||||||
|
mode = Rails.env.inspect
|
||||||
a = Thread.start do
|
a = Thread.start do
|
||||||
Bundler.with_clean_env do
|
Bundler.with_clean_env do
|
||||||
puts ENV['PWD']
|
puts ENV['PWD']
|
||||||
puts ['mode',Rails.env.inspect]
|
%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]
|
||||||
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
|
||||||
end
|
end
|
||||||
a.priority = 2
|
a.priority = 2
|
||||||
|
|
Loading…
Reference in New Issue