Revert "remove bundle install"

This reverts commit 82236309f5
This commit is contained in:
chiu 2020-02-21 16:51:25 +08:00
parent 82236309f5
commit 0f9129ba7b
1 changed files with 2 additions and 2 deletions

View File

@ -76,9 +76,9 @@ if old_gemfile_text != new_gemfile_text
Bundler.with_clean_env{%x[screen -ls | grep auto_reopen_#{dir_name} | cut -d. -f1 | awk '{print $1}' | xargs kill]} Bundler.with_clean_env{%x[screen -ls | grep auto_reopen_#{dir_name} | cut -d. -f1 | awk '{print $1}' | xargs kill]}
end end
if files.count ==0 if files.count ==0
command1 = "gem install bundler -v 1.17.3 ; bundle update --force" command1 = "gem install bundler -v 1.17.3 ; bundle install --force ; bundle update"
else else
command1 = "gem install bundler -v 1.17.3 ; mv -f Gemfile.lock Gemfile.lock.bak123 ; bundle update --force" command1 = "gem install bundler -v 1.17.3 ; mv -f Gemfile.lock Gemfile.lock.bak123 ; bundle install --force ; bundle update"
end end
filedata = File.read(env_pwd+"/built_in_extensions.rb") filedata = File.read(env_pwd+"/built_in_extensions.rb")
exist_str = "gem 'patchfile', git: 'http://gitlab.tp.rulingcom.com/chiu/patch_file.git'" exist_str = "gem 'patchfile', git: 'http://gitlab.tp.rulingcom.com/chiu/patch_file.git'"