How To Install rubygem-generator_spec on Fedora 36

In this tutorial we learn how to install rubygem-generator_spec in Fedora 36. rubygem-generator_spec is Test Rails generators with RSpec

Introduction

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

What is rubygem-generator_spec

Test Rails generators with RSpec.

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

Install rubygem-generator_spec 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-generator_spec using dnf by running the following command:

sudo dnf -y install rubygem-generator_spec

Install rubygem-generator_spec 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-generator_spec using yum by running the following command:

sudo yum -y install rubygem-generator_spec

How To Uninstall rubygem-generator_spec on Fedora 36

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

sudo dnf remove rubygem-generator_spec

rubygem-generator_spec Package Contents on Fedora 36

/usr/share/gems/gems/generator_spec-0.9.4
/usr/share/gems/gems/generator_spec-0.9.4/MIT-LICENSE
/usr/share/gems/gems/generator_spec-0.9.4/README.md
/usr/share/gems/gems/generator_spec-0.9.4/lib
/usr/share/gems/gems/generator_spec-0.9.4/lib/generator_spec
/usr/share/gems/gems/generator_spec-0.9.4/lib/generator_spec.rb
/usr/share/gems/gems/generator_spec-0.9.4/lib/generator_spec/generator_example_group.rb
/usr/share/gems/gems/generator_spec-0.9.4/lib/generator_spec/matcher.rb
/usr/share/gems/gems/generator_spec-0.9.4/lib/generator_spec/test_case.rb
/usr/share/gems/gems/generator_spec-0.9.4/lib/generator_spec/version.rb
/usr/share/gems/specifications/generator_spec-0.9.4.gemspec

References

Summary

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