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 web development

Do you need DevOps-experts?

Your development team has a full backlog? No time for infrastructure architecture? Our DevOps team is ready to support you!

  • We build reliable cloud solutions with Infrastructure as code
  • We are experts in security, Linux and databases
  • We support your dev team to perform
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)