Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error install travis - minitest requires Ruby version < 4.0, >= 2.6. The current ruby version is 2.5.0 #825

Open
dove-young opened this issue Jun 23, 2022 · 1 comment

Comments

@dove-young
Copy link

Here I am not able to install travis with Ruby version 2.5.0

The installation here https://github.com/travis-ci/travis.rb#installation instructs Make sure you have at least [Ruby](http://www.ruby-lang.org/en/downloads/) 2.3.0

[root@st2]# ruby -v
ruby 2.5.9p229 (2021-04-05 revision 67939) [x86_64-linux]
[root@st2-bastion-dev21 Fyre]# gem install travis --no-document
Fetching: faraday-em_http-1.0.0.gem (100%)
Successfully installed faraday-em_http-1.0.0
Fetching: faraday-em_synchrony-1.0.0.gem (100%)
Successfully installed faraday-em_synchrony-1.0.0
Fetching: faraday-excon-1.1.0.gem (100%)
Successfully installed faraday-excon-1.1.0
Fetching: faraday-httpclient-1.0.1.gem (100%)
Successfully installed faraday-httpclient-1.0.1
Fetching: multipart-post-2.2.3.gem (100%)
Successfully installed multipart-post-2.2.3
Fetching: faraday-multipart-1.0.4.gem (100%)
Successfully installed faraday-multipart-1.0.4
Fetching: faraday-net_http-1.0.1.gem (100%)
Successfully installed faraday-net_http-1.0.1
Fetching: faraday-net_http_persistent-1.2.0.gem (100%)
Successfully installed faraday-net_http_persistent-1.2.0
Fetching: faraday-patron-1.0.0.gem (100%)
Successfully installed faraday-patron-1.0.0
Fetching: faraday-rack-1.0.0.gem (100%)
Successfully installed faraday-rack-1.0.0
Fetching: faraday-retry-1.0.3.gem (100%)
Successfully installed faraday-retry-1.0.3
Fetching: ruby2_keywords-0.0.5.gem (100%)
Successfully installed ruby2_keywords-0.0.5
Fetching: faraday-1.10.0.gem (100%)
Successfully installed faraday-1.10.0
Fetching: faraday_middleware-1.2.0.gem (100%)
Successfully installed faraday_middleware-1.2.0
Fetching: highline-2.0.3.gem (100%)
Successfully installed highline-2.0.3
Fetching: concurrent-ruby-1.1.10.gem (100%)
Successfully installed concurrent-ruby-1.1.10
Fetching: i18n-1.10.0.gem (100%)
Successfully installed i18n-1.10.0
Fetching: thread_safe-0.3.6.gem (100%)
Successfully installed thread_safe-0.3.6
Fetching: tzinfo-1.2.9.gem (100%)
Successfully installed tzinfo-1.2.9
Fetching: minitest-5.16.1.gem (100%)
ERROR:  Error installing travis:
        minitest requires Ruby version < 4.0, >= 2.6. The current ruby version is 2.5.0.
[root@st2 ]#
@sirroms69
Copy link

I have the same installing "kubes" on RHEL8 did you get a fix?

ERROR: Error installing kubes:
minitest requires Ruby version < 4.0, >= 2.6. The current ruby version is 2.5.0

I have disabled 2.5
ruby 2.5 [d] common [d] An interpreter of object-oriented scripting language
ruby 2.6 [e] common [d] An interpreter of object-oriented scripting language
ruby 2.7 common [d] An interpreter of object-oriented scripting language
ruby 3.0 common [d] An interpreter of object-oriented scripting language

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants