* Calum McConnell <calumlikesapple...@gmail.com> [200324 16:30]: > [..] > > /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in > > `require': libruby-2.5.so.2.5: cannot open shared object file: No > > such file or directory - > > /home/calum/gems/gems/psych-3.1.0/lib/psych.so (LoadError) > ^^^^^^^^^^^^^^^^ > > [..] > > Further, I shouldnt need to reinstall ruby: rebuilding native > > extensions should > > be done by the upgrade script. > > Rebuilding gems/extensions that are located in your home directory > or other random places is not something that is allowed to be be done > by the upgrade process. It also wouldn't work in multi-machine setups > and many other cases.
Okay, fair enough. > Please rebuild the gems in your home directory yourself, possibly by > deleting them first. I would also recommend using versioned > directories in your gem path to avoid breaking gem itself on such > occasions. Thanks for the solution! My gem directories were auto-generated by Bundler, and given how rarely I use ruby, I don't think its worth the time to try and mess with the defaults. I'm perfectly willing to rm -rf ~/gems once yearly instead. You may want to mention the gem- breaking in the news file, though: many people (okay, at least this person) don't remember that native-extensions are version dependent and require rebuilds. Thanks for the quick assistance, Calum (you can close this bug, if you havent already)
signature.asc
Description: This is a digitally signed message part