fix error

This commit is contained in:
邱博亞 2022-03-17 00:01:31 +08:00
parent ea668b8adf
commit 0af1d8c145
1 changed files with 4 additions and 0 deletions

View File

@ -203,7 +203,11 @@ if bundle_update_flag
#if files.count ==0 #if files.count ==0
# command1 = "gem install bundler -v 1.17.3 ; bundle update --all" # command1 = "gem install bundler -v 1.17.3 ; bundle update --all"
#else #else
if RUBY_VERSION.to_f==2.1
command1 = "gem install bundler -v 1.17.3 ; bundle update --all" command1 = "gem install bundler -v 1.17.3 ; bundle update --all"
else
command1 = "gem install bundler -v 2.3.3 ; bundle update --all"
end
#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'"