You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On clean ruby 2.7.7 installed by RVM a default bundler v. 2.1.4 gem is installed. I need more recent version of the gem so I install it by running gem install bundler:2.4.19 --default. Then I try to install the gems bundle isntall and I get an error
cannot load such file -- /Users/jedrek/.rvm/rubies/ruby-2.7.7/lib/ruby/gems/2.7.0/gems/bundler-2.4.19/exe/bundle (LoadError)
I check the bundler versions and it looks like I have two versions installed both set as default gem. How can two gems be set as default? Why is the old one not unset as default automatically?
gem info bundler
*** LOCAL GEMS ***
bundler (2.4.19, 2.1.4)
Authors: André Arko, Samuel Giddins, Colby Swandale, Hiroshi
Shibata, David Rodríguez, Grey Baker, Stephanie Morillo, Chris
Morris, James Wen, Tim Moore, André Medeiros, Jessica Lynn Suttles,
Terence Lee, Carl Lerche, Yehuda Katz
Homepage: https://bundler.io
License: MIT
Installed at (2.4.19, default): /Users/jedrek/.rvm/rubies/ruby-2.7.7/lib/ruby/gems/2.7.0
(2.1.4, default): /Users/jedrek/.rvm/rubies/ruby-2.7.7/lib/ruby/gems/2.7.0
Did you try upgrading RubyGems?
Yes, but it failed
gem update --system
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
bad response Forbidden 403 (https://jedrekdomanski:REDACTED@rubygems.pkg.github.com/REDACTED/specs.4.8.gz)
Post steps to reproduce the problem
Which command did you run?
What were you expecting to happen?
What actually happened?
Run gem env and paste the output below
The text was updated successfully, but these errors were encountered:
Also, FYI, all Ruby versions before v3.0 are considered end-of-life/unmaintained. (I know sometimes people have to use old versions anyway, but I wanted to make sure you were at least aware of it.)
Describe the problem as clearly as you can
On clean ruby 2.7.7 installed by RVM a default
bundler
v. 2.1.4 gem is installed. I need more recent version of the gem so I install it by runninggem install bundler:2.4.19 --default
. Then I try to install the gemsbundle isntall
and I get an errorI check the bundler versions and it looks like I have two versions installed both set as default gem. How can two gems be set as default? Why is the old one not unset as default automatically?
Did you try upgrading RubyGems?
Yes, but it failed
Post steps to reproduce the problem
Which command did you run?
What were you expecting to happen?
What actually happened?
Run
gem env
and paste the output belowThe text was updated successfully, but these errors were encountered: