On Tue, Apr 26, 2022 at 9:29 AM sebb <seb...@gmail.com> wrote:
>
> There are a lot of older versions of Gems around - maybe time to do a cleanup?

It would take a bit of refactoring, but there is code in the Rakefile
that might be useful.  On my ubuntu machine, I need to prefix gem
install commands with `sudo` and having `rake udpate` iterate through
the gemfiles and prompting me many times grew old fast so I added a
check to see if Bundler.bundle_path.writable? and if not I would build
a single gemfile that collected up all the dependencies.  Having a
'rake gem:clean' or equivalent task that would do this followed
immediately by an update might be useful.  The update is required as
there are rare cases where different apps use different gems (until
recently, active_support required an old version of tzinfo, for
example).

Of course, all this will be cleaned up when infra supports Ubuntu
22.04 and we move to whimsy-vm7.

- Sam Ruby

Reply via email to