Ask Your Question

Revision history [back]

Do all gem dependencies need to be rpms?

For example, I'm looking into creating an EL7 RPM which follows Fedora's guidelines for fluentd (as opposed to their RPM which bundles all of its own dependencies under /opt and contains no changelog or errata)

According to Fedora's documentation, rubygem's dependency management should be used for getting the required packages. However, what if the required package is not an RPM?

For instance, of the dependencies for the fluentd gem, only json has an rpm (rubygem-json in base) but none of the others do.

Do I need to ensure an RPM exists in EPEL for each of these gems as well and make the rpm depend on them? Or is it OK to just let the gems install themselves?