-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
sudo gem update --system fails on fresh Ubuntu 18.04.5 LTS #4186
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
Comments
Hello @pierre-pretorius! Unfortunately, updating rubygems of a ruby installation provided by Debian is not supported. Debian packages provide custom code that they can change at any time and it's hard for us to make sure that everything they do works all the time. The custom code is that There's also a Why do you need to update rubygems? |
We should probably move #3720 forward on this kind of Ruby distributions. @pierre-pretorius You should use your system to update system Ruby/RubyGems/Bundler. Instead of doing Alternatively you should install custom Ruby distribution and maintain it manually by You do mix both together and it doesn't work :/ |
Yay! We also plan to add all this information to the error message you get when you do this, so that you don't need to open an issue to find out 😃. b |
My cat 😆. |
If you install ruby by |
Thank you for the quick response and detailed explanation of the issue.
Our server provisioning is automated and follows a process that usually completes without issues, but this time it ran into the error below where the suggested solution was to update system gems: https://bundler.io/blog/2019/05/14/solutions-for-cant-find-gem-bundler-with-executable-bundle.html Our current solution is to install bundler 1 via |
Oh, I see! That post should clarify that if it is an OS installation, In any case, rubygems is still picky when choosing the bundler version if the "BUNDLED WITH" version and the running version are different major versions of bundler, so I'll edit that blog post to try to make it more useful. |
I proposed an update to the blog post that's causing this constant flow of upcoming bug reports: rubygems/bundler-site#547. I also plan to make a proposal to deprecate For the rest I'll close this ticket since there's not much else we can do. |
On a fresh new Ubuntu server 18.04.5 LTS system created from default AWS ami:
This issue is related to:
gem
Here are my current environment details:
I also tried install rubygems-update-3.2.2 and rubygesm-update-3.2.1 and it gave the same error.
The text was updated successfully, but these errors were encountered: