Update announcement.gemspec
This commit is contained in:
parent
27e3a1408e
commit
d8b1f3b904
|
@ -42,7 +42,8 @@ if old_gemfile_text != new_gemfile_text
|
||||||
else
|
else
|
||||||
mode = 'production'
|
mode = 'production'
|
||||||
end
|
end
|
||||||
if Dir[ENV['PWD']+'/Gemfile.lock'].blank?
|
files = Dir[ENV['PWD']+'/Gemfile.lock']
|
||||||
|
if files.blank?
|
||||||
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