How To Install rubygem-spring-watcher-listen on Fedora 36

In this tutorial we learn how to install rubygem-spring-watcher-listen in Fedora 36. rubygem-spring-watcher-listen is Makes spring watch files using the listen gem

Introduction

In this tutorial we learn how to install rubygem-spring-watcher-listen on Fedora 36.

What is rubygem-spring-watcher-listen

This gem makes Spring watch the filesystem for changes using Listen rather than by polling the filesystem. On larger projects this means spring will be more responsive, more accurate and use less cpu on local filesystems.

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

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

sudo dnf -y install rubygem-spring-watcher-listen

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

sudo yum -y install rubygem-spring-watcher-listen

How To Uninstall rubygem-spring-watcher-listen on Fedora 36

To uninstall only the rubygem-spring-watcher-listen package we can use the following command:

sudo dnf remove rubygem-spring-watcher-listen

rubygem-spring-watcher-listen Package Contents on Fedora 36

/usr/share/gems/gems/spring-watcher-listen-2.0.1
/usr/share/gems/gems/spring-watcher-listen-2.0.1/LICENSE.txt
/usr/share/gems/gems/spring-watcher-listen-2.0.1/lib
/usr/share/gems/gems/spring-watcher-listen-2.0.1/lib/spring
/usr/share/gems/gems/spring-watcher-listen-2.0.1/lib/spring/watcher
/usr/share/gems/gems/spring-watcher-listen-2.0.1/lib/spring/watcher/listen.rb
/usr/share/gems/specifications/spring-watcher-listen-2.0.1.gemspec

References

Summary

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