fix error
This commit is contained in:
parent
ea668b8adf
commit
0af1d8c145
|
@ -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'"
|
||||||
|
|
Loading…
Reference in New Issue