How To Install rubygem-jquery-rails on Fedora 36

In this tutorial we learn how to install rubygem-jquery-rails in Fedora 36. rubygem-jquery-rails is Use jQuery with Rails 4+

Introduction

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

What is rubygem-jquery-rails

This gem provides jQuery and the jQuery-ujs driver for your Rails 4+ application.

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

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

sudo dnf -y install rubygem-jquery-rails

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

sudo yum -y install rubygem-jquery-rails

How To Uninstall rubygem-jquery-rails on Fedora 36

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

sudo dnf remove rubygem-jquery-rails

rubygem-jquery-rails Package Contents on Fedora 36

/usr/share/gems/gems/jquery-rails-4.4.0
/usr/share/gems/gems/jquery-rails-4.4.0/MIT-LICENSE
/usr/share/gems/gems/jquery-rails-4.4.0/lib
/usr/share/gems/gems/jquery-rails-4.4.0/lib/jquery
/usr/share/gems/gems/jquery-rails-4.4.0/lib/jquery-rails.rb
/usr/share/gems/gems/jquery-rails-4.4.0/lib/jquery/assert_select.rb
/usr/share/gems/gems/jquery-rails-4.4.0/lib/jquery/rails
/usr/share/gems/gems/jquery-rails-4.4.0/lib/jquery/rails.rb
/usr/share/gems/gems/jquery-rails-4.4.0/lib/jquery/rails/engine.rb
/usr/share/gems/gems/jquery-rails-4.4.0/lib/jquery/rails/version.rb
/usr/share/gems/gems/jquery-rails-4.4.0/vendor
/usr/share/gems/gems/jquery-rails-4.4.0/vendor/assets
/usr/share/gems/gems/jquery-rails-4.4.0/vendor/assets/javascripts
/usr/share/gems/gems/jquery-rails-4.4.0/vendor/assets/javascripts/jquery.js
/usr/share/gems/gems/jquery-rails-4.4.0/vendor/assets/javascripts/jquery.min.js
/usr/share/gems/gems/jquery-rails-4.4.0/vendor/assets/javascripts/jquery.min.map
/usr/share/gems/gems/jquery-rails-4.4.0/vendor/assets/javascripts/jquery2.js
/usr/share/gems/gems/jquery-rails-4.4.0/vendor/assets/javascripts/jquery2.min.js
/usr/share/gems/gems/jquery-rails-4.4.0/vendor/assets/javascripts/jquery2.min.map
/usr/share/gems/gems/jquery-rails-4.4.0/vendor/assets/javascripts/jquery3.js
/usr/share/gems/gems/jquery-rails-4.4.0/vendor/assets/javascripts/jquery3.min.js
/usr/share/gems/gems/jquery-rails-4.4.0/vendor/assets/javascripts/jquery3.min.map
/usr/share/gems/gems/jquery-rails-4.4.0/vendor/assets/javascripts/jquery_ujs.js
/usr/share/gems/specifications/jquery-rails-4.4.0.gemspec

References

Summary

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