How To Install rubygem-require_all on Fedora 36

In this tutorial we learn how to install rubygem-require_all in Fedora 36. rubygem-require_all is A wonderfully simple way to load your code

Introduction

In this tutorial we learn how to install rubygem-require_all on Fedora 36.

What is rubygem-require_all

A wonderfully simple way to load your code. Tired of futzing around with require statements everywhere, littering your code with require File (FILE) crap? What if you could just point something at a big directory full of code and have everything just auto-magically load regardless of the dependency structure? Wouldn’t that be nice? Well, now you can!

We can use yum or dnf to install rubygem-require_all on Fedora 36. In this tutorial we discuss both methods but you only need to choose one of method to install rubygem-require_all.

Install rubygem-require_all on Fedora 36 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

After updating yum database, We can install rubygem-require_all using dnf by running the following command:

sudo dnf -y install rubygem-require_all

Install rubygem-require_all on Fedora 36 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

After updating yum database, We can install rubygem-require_all using yum by running the following command:

sudo yum -y install rubygem-require_all

How To Uninstall rubygem-require_all on Fedora 36

To uninstall only the rubygem-require_all package we can use the following command:

sudo dnf remove rubygem-require_all

rubygem-require_all Package Contents on Fedora 36

/usr/share/gems/gems/require_all-3.0.0
/usr/share/gems/gems/require_all-3.0.0/LICENSE
/usr/share/gems/gems/require_all-3.0.0/lib
/usr/share/gems/gems/require_all-3.0.0/lib/require_all.rb
/usr/share/gems/specifications/require_all-3.0.0.gemspec

References

Summary

In this tutorial we learn how to install rubygem-require_all on Fedora 36 using yum and [dnf]((/fedora/36/dnf/).