How To Install rubygem-rails-dom-testing on Fedora 36

In this tutorial we learn how to install rubygem-rails-dom-testing in Fedora 36. rubygem-rails-dom-testing is Dom and Selector assertions for Rails applications

Introduction

In this tutorial we learn how to install rubygem-rails-dom-testing on Fedora 36.

What is rubygem-rails-dom-testing

This gem can compare doms and assert certain elements exists in doms using Nokogiri.

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

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

sudo dnf -y install rubygem-rails-dom-testing

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

sudo yum -y install rubygem-rails-dom-testing

How To Uninstall rubygem-rails-dom-testing on Fedora 36

To uninstall only the rubygem-rails-dom-testing package we can use the following command:

sudo dnf remove rubygem-rails-dom-testing

rubygem-rails-dom-testing Package Contents on Fedora 36

/usr/share/gems/gems/rails-dom-testing-2.0.3
/usr/share/gems/gems/rails-dom-testing-2.0.3/MIT-LICENSE
/usr/share/gems/gems/rails-dom-testing-2.0.3/lib
/usr/share/gems/gems/rails-dom-testing-2.0.3/lib/rails
/usr/share/gems/gems/rails-dom-testing-2.0.3/lib/rails-dom-testing.rb
/usr/share/gems/gems/rails-dom-testing-2.0.3/lib/rails/dom
/usr/share/gems/gems/rails-dom-testing-2.0.3/lib/rails/dom/testing
/usr/share/gems/gems/rails-dom-testing-2.0.3/lib/rails/dom/testing/assertions
/usr/share/gems/gems/rails-dom-testing-2.0.3/lib/rails/dom/testing/assertions.rb
/usr/share/gems/gems/rails-dom-testing-2.0.3/lib/rails/dom/testing/assertions/dom_assertions.rb
/usr/share/gems/gems/rails-dom-testing-2.0.3/lib/rails/dom/testing/assertions/selector_assertions
/usr/share/gems/gems/rails-dom-testing-2.0.3/lib/rails/dom/testing/assertions/selector_assertions.rb
/usr/share/gems/gems/rails-dom-testing-2.0.3/lib/rails/dom/testing/assertions/selector_assertions/count_describable.rb
/usr/share/gems/gems/rails-dom-testing-2.0.3/lib/rails/dom/testing/assertions/selector_assertions/html_selector.rb
/usr/share/gems/gems/rails-dom-testing-2.0.3/lib/rails/dom/testing/assertions/selector_assertions/substitution_context.rb
/usr/share/gems/gems/rails-dom-testing-2.0.3/lib/rails/dom/testing/version.rb
/usr/share/gems/specifications/rails-dom-testing-2.0.3.gemspec

References

Summary

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