How To Install rubygem-sass-rails on Fedora 36

In this tutorial we learn how to install rubygem-sass-rails in Fedora 36. rubygem-sass-rails is Sass adapter for the Rails asset pipeline

Introduction

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

What is rubygem-sass-rails

Sass adapter for the Rails asset pipeline.

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

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

sudo dnf -y install rubygem-sass-rails

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

sudo yum -y install rubygem-sass-rails

How To Uninstall rubygem-sass-rails on Fedora 36

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

sudo dnf remove rubygem-sass-rails

rubygem-sass-rails Package Contents on Fedora 36

/usr/share/gems/gems/sass-rails-6.0.0
/usr/share/gems/gems/sass-rails-6.0.0/MIT-LICENSE
/usr/share/gems/gems/sass-rails-6.0.0/lib
/usr/share/gems/gems/sass-rails-6.0.0/lib/sass
/usr/share/gems/gems/sass-rails-6.0.0/lib/sass-rails.rb
/usr/share/gems/gems/sass-rails-6.0.0/lib/sass/rails
/usr/share/gems/gems/sass-rails-6.0.0/lib/sass/rails.rb
/usr/share/gems/gems/sass-rails-6.0.0/lib/sass/rails/importer.rb
/usr/share/gems/gems/sass-rails-6.0.0/lib/sass/rails/logger.rb
/usr/share/gems/gems/sass-rails-6.0.0/lib/sass/rails/railtie.rb
/usr/share/gems/gems/sass-rails-6.0.0/lib/sass/rails/version.rb
/usr/share/gems/specifications/sass-rails-6.0.0.gemspec

References

Summary

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