-
-
Notifications
You must be signed in to change notification settings - Fork 2k
ERROR: Error installing bundler: bundler requires Ruby version >= 2.3.0. #6865
Comments
This looks like it's expected behavior. See https://bundler.io/guides/bundler_2_upgrade.html |
FYI this means that the version of |
Bundler 2 no longer supports versions of Ruby that are so old they have been abandoned by the ruby-core team. That includes Ruby 2.2 and older. This is intended behavior, sorry. |
> Bundler 2 no longer supports versions of Ruby that are so old they > have been abandoned by the ruby-core team. That includes Ruby 2.2 and > older. This is intended behavior, sorry. Source: rubygems/bundler#6865 (comment)
If someone Googles this, just install the version from your Gemfile.lock by running two commands as shown in the official blog post here.
In my case I had this error when building a docker container, so I just replaced |
Fixed by using @vgladiyenko answer. |
The most recent version of bundler does not support Puppet version used in contrail-infra. Pin it to some previous version. Further info: rubygems/bundler#6865 Change-Id: I8a3781f46ce5e7e6043ba3b5c50f500e8435af35
@vgladiyenko thank you this helped with a time travel project! |
> Bundler 2 no longer supports versions of Ruby that are so old they > have been abandoned by the ruby-core team. That includes Ruby 2.2 and > older. This is intended behavior, sorry. Source: rubygems/bundler#6865 (comment)
> Bundler 2 no longer supports versions of Ruby that are so old they > have been abandoned by the ruby-core team. That includes Ruby 2.2 and > older. This is intended behavior, sorry. Source: rubygems/bundler#6865 (comment)
> Bundler 2 no longer supports versions of Ruby that are so old they > have been abandoned by the ruby-core team. That includes Ruby 2.2 and > older. This is intended behavior, sorry. Source: rubygems/bundler#6865 (comment)
If you do not want to update your project's ruby version due to some reason, you can install the last supported version of Bundler for Ruby < 2.3: (that should get rid of above error and will install older version of bundler)
|
We were using Bundler version 1.12.5 with ruby version = "2.1" , 'poise-ruby', '~> 2.4.0' and 'poise-ruby-build', '~> 1.1.0'
But after the release Bundler version 2.0.0 - January 03, 2019 we are getting this error STDERR: ERROR: Error installing bundler:bundler requires Ruby version >= 2.3.0.
can anyone please help me with this issue?
`===================================================================
===================================================================
`
The text was updated successfully, but these errors were encountered: