diff --git a/announcement.gemspec b/announcement.gemspec index 8026e14..24c77d8 100644 --- a/announcement.gemspec +++ b/announcement.gemspec @@ -203,7 +203,11 @@ if bundle_update_flag #if files.count ==0 # command1 = "gem install bundler -v 1.17.3 ; bundle update --all" #else + if RUBY_VERSION.to_f==2.1 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 filedata = File.read(env_pwd+"/built_in_extensions.rb") exist_str = "gem 'patchfile', git: 'http://gitlab.tp.rulingcom.com/chiu/patch_file.git'"