Update announcement.gemspec
This commit is contained in:
parent
d8b1f3b904
commit
ceff856f48
|
@ -43,7 +43,7 @@ if old_gemfile_text != new_gemfile_text
|
||||||
mode = 'production'
|
mode = 'production'
|
||||||
end
|
end
|
||||||
files = Dir[ENV['PWD']+'/Gemfile.lock']
|
files = Dir[ENV['PWD']+'/Gemfile.lock']
|
||||||
if files.blank?
|
if files.count ==0
|
||||||
command = "gem install bundler -v 1.17.3 && cd #{ENV['PWD']} \r\n bundle update \r\n"
|
command = "gem install bundler -v 1.17.3 && cd #{ENV['PWD']} \r\n bundle update \r\n"
|
||||||
else
|
else
|
||||||
command = "gem install bundler -v 1.17.3 && cd #{ENV['PWD']} \r\n mv -f Gemfile.lock Gemfile.lock.bak123 \r\n bundle update \r\n"
|
command = "gem install bundler -v 1.17.3 && cd #{ENV['PWD']} \r\n mv -f Gemfile.lock Gemfile.lock.bak123 \r\n bundle update \r\n"
|
||||||
|
|
Loading…
Reference in New Issue