Read more

Use rbenv-each to run a command for every installed Ruby version

Michael Leimstädtner
October 06, 2023Software engineer at makandra GmbH

The linked rbenv Show archive.org snapshot plugin rbenv-each Show archive.org snapshot is very helpful to keep QoL gems up to date that are not part of the Gemfile.

Illustration book lover

Growing Rails Applications in Practice

Check out our e-book. Learn to structure large Ruby on Rails codebases with the tools you already know and love.

  • Introduce design conventions for controllers and user-facing models
  • Create a system for growth
  • Build applications to last
Read more Show archive.org snapshot

For example, you can bump the geordi version for all your rubies with the following command:

rbenv each gem update geordi

Another useful example would be to bulk-update bundler or rubygems.

Note that rbenv-each hasn't been updated since 2018, but it is fully functional for me.

Posted by Michael Leimstädtner to makandra dev (2023-10-06 16:07)