How To Install rubygem-rr on Fedora 36

In this tutorial we learn how to install rubygem-rr in Fedora 36. rubygem-rr is RR is a test double framework with a terse syntax

Introduction

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

What is rubygem-rr

RR is a test double framework that features a rich selection of double techniques and a terse syntax.

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

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

sudo dnf -y install rubygem-rr

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

sudo yum -y install rubygem-rr

How To Uninstall rubygem-rr on Fedora 36

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

sudo dnf remove rubygem-rr

rubygem-rr Package Contents on Fedora 36

/usr/share/gems/gems/rr-1.2.1
/usr/share/gems/gems/rr-1.2.1/LICENSE
/usr/share/gems/gems/rr-1.2.1/lib
/usr/share/gems/gems/rr-1.2.1/lib/rr
/usr/share/gems/gems/rr-1.2.1/lib/rr.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/autohook.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/blank_slate.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/class_instance_method_defined.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/core_ext
/usr/share/gems/gems/rr-1.2.1/lib/rr/core_ext/array.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/core_ext/enumerable.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/core_ext/hash.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/core_ext/range.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/core_ext/regexp.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/deprecations.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/double.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/child_double_definition_create.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/double_definition.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/double_definition_create.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/double_definition_create_blank_slate.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/double_injections
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/double_injections/any_instance_of.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/double_injections/instance.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/strategies
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/strategies/double_injection
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/strategies/double_injection/any_instance_of.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/strategies/double_injection/double_injection_strategy.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/strategies/double_injection/instance.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/strategies/implementation
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/strategies/implementation/implementation_strategy.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/strategies/implementation/proxy.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/strategies/implementation/reimplementation.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/strategies/implementation/strongly_typed_reimplementation.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/strategies/strategy.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/strategies/strategy_methods.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/strategies/verification
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/strategies/verification/dont_allow.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/strategies/verification/mock.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/strategies/verification/stub.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_definitions/strategies/verification/verification_strategy.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/double_matches.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/dsl.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/errors
/usr/share/gems/gems/rr-1.2.1/lib/rr/errors.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/errors/double_definition_error.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/errors/double_not_found_error.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/errors/double_order_error.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/errors/rr_error.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/errors/spy_verification_errors
/usr/share/gems/gems/rr-1.2.1/lib/rr/errors/spy_verification_errors/double_injection_not_found_error.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/errors/spy_verification_errors/invocation_count_error.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/errors/spy_verification_errors/spy_verification_error.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/errors/subject_does_not_implement_method_error.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/errors/subject_has_different_arity_error.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/errors/times_called_error.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/expectations
/usr/share/gems/gems/rr-1.2.1/lib/rr/expectations/any_argument_expectation.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/expectations/argument_equality_expectation.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/expectations/times_called_expectation.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/hash_with_object_id_key.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/injections
/usr/share/gems/gems/rr-1.2.1/lib/rr/injections/double_injection.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/injections/injection.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/injections/method_missing_injection.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/injections/singleton_method_added_injection.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/integrations
/usr/share/gems/gems/rr-1.2.1/lib/rr/integrations.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/integrations/decorator.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/integrations/minitest.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/integrations/minitest_4.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/integrations/minitest_4_active_support.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/integrations/minitest_active_support.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/integrations/rspec
/usr/share/gems/gems/rr-1.2.1/lib/rr/integrations/rspec/invocation_matcher.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/integrations/rspec_2.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/method_dispatches
/usr/share/gems/gems/rr-1.2.1/lib/rr/method_dispatches/base_method_dispatch.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/method_dispatches/method_dispatch.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/method_dispatches/method_missing_dispatch.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/proc_from_block.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/recorded_call.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/recorded_calls.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/space.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/spy_verification.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/spy_verification_proxy.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/times_called_matchers
/usr/share/gems/gems/rr-1.2.1/lib/rr/times_called_matchers/any_times_matcher.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/times_called_matchers/at_least_matcher.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/times_called_matchers/at_most_matcher.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/times_called_matchers/integer_matcher.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/times_called_matchers/never_matcher.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/times_called_matchers/non_terminal.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/times_called_matchers/proc_matcher.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/times_called_matchers/range_matcher.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/times_called_matchers/terminal.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/times_called_matchers/times_called_matcher.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/version.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/wildcard_matchers
/usr/share/gems/gems/rr-1.2.1/lib/rr/wildcard_matchers.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/wildcard_matchers/anything.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/wildcard_matchers/boolean.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/wildcard_matchers/duck_type.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/wildcard_matchers/hash_including.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/wildcard_matchers/is_a.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/wildcard_matchers/numeric.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/wildcard_matchers/satisfy.rb
/usr/share/gems/gems/rr-1.2.1/lib/rr/without_autohook.rb
/usr/share/gems/specifications/rr-1.2.1.gemspec

References

Summary

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