How To Install rubygem-rspec-its on Fedora 36

In this tutorial we learn how to install rubygem-rspec-its in Fedora 36. rubygem-rspec-its is Provides “its” method formerly part of rspec-core

Introduction

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

What is rubygem-rspec-its

RSpec extension gem for attribute matching.

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

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

sudo dnf -y install rubygem-rspec-its

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

sudo yum -y install rubygem-rspec-its

How To Uninstall rubygem-rspec-its on Fedora 36

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

sudo dnf remove rubygem-rspec-its

rubygem-rspec-its Package Contents on Fedora 36

/usr/share/gems/gems/rspec-its-1.3.0
/usr/share/gems/gems/rspec-its-1.3.0/LICENSE.txt
/usr/share/gems/gems/rspec-its-1.3.0/lib
/usr/share/gems/gems/rspec-its-1.3.0/lib/rspec
/usr/share/gems/gems/rspec-its-1.3.0/lib/rspec/its
/usr/share/gems/gems/rspec-its-1.3.0/lib/rspec/its.rb
/usr/share/gems/gems/rspec-its-1.3.0/lib/rspec/its/version.rb
/usr/share/gems/specifications/rspec-its-1.3.0.gemspec

References

Summary

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