rbenv install 3.2.2 fails with cannot load such file -- rubygems/gem_runner (LoadError) #2205
-
Steps to reproduce the behaviorI expect to install new Ruby Expected vs. actual behaviorInstallation fails Logs
|
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 1 reply
-
I have spotted something odd, I use ruby version
but the error points to another /home/jacekp/.rbenv/versions/3.2.1/bin/gem:8:in `require': cannot load such file -- rubygems/gem_runner (LoadError) |
Beta Was this translation helpful? Give feedback.
-
rbenv uninstall 3.2.1 |
Beta Was this translation helpful? Give feedback.
-
but trying to install ruby 3.2.2 |
Beta Was this translation helpful? Give feedback.
-
rbenv global I will change to system and try again |
Beta Was this translation helpful? Give feedback.
-
it worked |
Beta Was this translation helpful? Give feedback.
rbenv global
was returning 3.21
I will change to system
rbenv global system
and try again