How To Install rubygem-require_all on CentOS 7
Introduction
In this tutorial we learn how to install rubygem-require_all
on CentOS 7.
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 CentOS 7. 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 CentOS 7 Using yum
Update yum database with yum
using the following command.
After updating yum database, We can install rubygem-require_all
using yum
by running the following command:
Install rubygem-require_all on CentOS 7 Using dnf
If you don’t have dnf installed you can install DNF on CentOS 7 first.
Update yum database with dnf
using the following command.
After updating yum database, We can install rubygem-require_all
using dnf
by running the following command:
How To Uninstall rubygem-require_all on CentOS 7
To uninstall only the rubygem-require_all
package we can use the following command:
References
Summary
In this tutorial we learn how to install rubygem-require_all
on CentOS 7 using yum
and dnf
.