@@ -78,16 +78,16 @@ To use a HTTP proxy, specify --proxy followed by the proxy server
7878defined by http://hostname:port
7979
8080This install script needs Ruby version 2.x installed as a prerequisite.
81- Currently recommanded Ruby versions are 2.0.0, 2.1.8, 2.2.4, 2.3, 2.4, and 2.5 .
81+ Currently recommended Ruby versions are 2.0.0, 2.1.8, 2.2.4, 2.3, 2.4, 2.5, 2.6 and 2.7 .
8282If multiple Ruby versions are installed, the default ruby version will be used.
83- If the default ruby version does not satisfy reqirement , the newest version will be used.
83+ If the default ruby version does not satisfy requirement , the newest version will be used.
8484If you do not have a supported Ruby version installed, please install one of them first.
8585
8686EOF
8787 end
8888
8989 def supported_ruby_versions
90- [ '2.5' , '2.4' , '2.3' , '2.2' , '2.1' , '2.0' ]
90+ [ '2.7' , '2.6' , '2. 5', '2.4' , '2.3' , '2.2' , '2.1' , '2.0' ]
9191 end
9292
9393 # check ruby version, only version 2.x works
173173 # change interpreter when symlink /usr/bin/ruby2.x exists, but running with non-supported ruby version
174174 actual_ruby_version = RUBY_VERSION . split ( '.' ) . map { |s |s . to_i }
175175 left_bound = '2.0.0' . split ( '.' ) . map { |s |s . to_i }
176- right_bound = '2.5 .0' . split ( '.' ) . map { |s |s . to_i }
176+ right_bound = '2.7 .0' . split ( '.' ) . map { |s |s . to_i }
177177 if ( actual_ruby_version <=> left_bound ) < 0
178178 if ( !@reexeced )
179179 @log . info ( "The current Ruby version is not 2.x! Restarting the installer with #{ ruby_interpreter_path } " )
0 commit comments