On Wed, Feb 15, 2023 at 4:17 PM vtamara <vtam...@pasosdejesus.org> wrote:
> > > Can you explain why you > > were running `gem update --system`? The only reason I can think of is > > the nag message asked you to. The only reason I can think of is > > the nag message asked you to. > > I prefer to have all the gems as updated as possible, particularly > bundler and running `doas gem update --system` will update bundler and > rubygems at once. > > After running it, if I remove the package ruby, it present a warning: > File > /usr/local/lib/ruby/gems/3.2/specifications/default/bundler-2.4.1.gemspec > does not exist > But it will remove the other files. > If `gem update --system` adds a new file, I don't think that pkg_delete will remove it. And if you run pkg_delete with checksums, it won't remove any modified files either. > I understand that in this moment there is not much advantge because to > udpate bundler I can run: > doas gem install bundler > This is the recommended approach if you must update bundler. Thanks, Jeremy