How To Install rubygem-apipie-rails on Fedora 36

In this tutorial we learn how to install rubygem-apipie-rails in Fedora 36. rubygem-apipie-rails is Rails REST API documentation tool

Introduction

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

What is rubygem-apipie-rails

Apipie-rails is a DSL and Rails engine for documenting your RESTful API. Instead of traditional use of #comments, Apipie lets you describe the code, through the code. This brings advantages like * No need to learn yet another syntax, you already know Ruby, right? * Possibility of reusing the docs for other purposes (such as validation) * Easier to extend and maintain (no string parsing involved) * Possibility of reusing other sources for documentation purposes (such as routes etc.) The documentation is available from within your app (by default under the /apipie path.) In development mode, you can see the changes as you go. It’s markup language agnostic, and even provides an API for reusing the documentation data in JSON.

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

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

sudo dnf -y install rubygem-apipie-rails

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

sudo yum -y install rubygem-apipie-rails

How To Uninstall rubygem-apipie-rails on Fedora 36

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

sudo dnf remove rubygem-apipie-rails

rubygem-apipie-rails Package Contents on Fedora 36

/usr/share/gems/gems/apipie-rails-0.5.18
/usr/share/gems/gems/apipie-rails-0.5.18/APACHE-LICENSE-2.0
/usr/share/gems/gems/apipie-rails-0.5.18/MIT-LICENSE
/usr/share/gems/gems/apipie-rails-0.5.18/app
/usr/share/gems/gems/apipie-rails-0.5.18/app/controllers
/usr/share/gems/gems/apipie-rails-0.5.18/app/controllers/apipie
/usr/share/gems/gems/apipie-rails-0.5.18/app/controllers/apipie/apipies_controller.rb
/usr/share/gems/gems/apipie-rails-0.5.18/app/helpers
/usr/share/gems/gems/apipie-rails-0.5.18/app/helpers/apipie_helper.rb
/usr/share/gems/gems/apipie-rails-0.5.18/app/public
/usr/share/gems/gems/apipie-rails-0.5.18/app/public/apipie
/usr/share/gems/gems/apipie-rails-0.5.18/app/public/apipie/javascripts
/usr/share/gems/gems/apipie-rails-0.5.18/app/public/apipie/javascripts/apipie.js
/usr/share/gems/gems/apipie-rails-0.5.18/app/public/apipie/javascripts/bundled
/usr/share/gems/gems/apipie-rails-0.5.18/app/public/apipie/javascripts/bundled/bootstrap-collapse.js
/usr/share/gems/gems/apipie-rails-0.5.18/app/public/apipie/javascripts/bundled/bootstrap.js
/usr/share/gems/gems/apipie-rails-0.5.18/app/public/apipie/javascripts/bundled/jquery.js
/usr/share/gems/gems/apipie-rails-0.5.18/app/public/apipie/javascripts/bundled/prettify.js
/usr/share/gems/gems/apipie-rails-0.5.18/app/public/apipie/stylesheets
/usr/share/gems/gems/apipie-rails-0.5.18/app/public/apipie/stylesheets/application.css
/usr/share/gems/gems/apipie-rails-0.5.18/app/public/apipie/stylesheets/bundled
/usr/share/gems/gems/apipie-rails-0.5.18/app/public/apipie/stylesheets/bundled/bootstrap-responsive.min.css
/usr/share/gems/gems/apipie-rails-0.5.18/app/public/apipie/stylesheets/bundled/bootstrap.min.css
/usr/share/gems/gems/apipie-rails-0.5.18/app/public/apipie/stylesheets/bundled/prettify.css
/usr/share/gems/gems/apipie-rails-0.5.18/app/views
/usr/share/gems/gems/apipie-rails-0.5.18/app/views/apipie
/usr/share/gems/gems/apipie-rails-0.5.18/app/views/apipie/apipies
/usr/share/gems/gems/apipie-rails-0.5.18/app/views/apipie/apipies/_disqus.html.erb
/usr/share/gems/gems/apipie-rails-0.5.18/app/views/apipie/apipies/_errors.html.erb
/usr/share/gems/gems/apipie-rails-0.5.18/app/views/apipie/apipies/_headers.html.erb
/usr/share/gems/gems/apipie-rails-0.5.18/app/views/apipie/apipies/_languages.erb
/usr/share/gems/gems/apipie-rails-0.5.18/app/views/apipie/apipies/_metadata.erb
/usr/share/gems/gems/apipie-rails-0.5.18/app/views/apipie/apipies/_method_detail.erb
/usr/share/gems/gems/apipie-rails-0.5.18/app/views/apipie/apipies/_params.html.erb
/usr/share/gems/gems/apipie-rails-0.5.18/app/views/apipie/apipies/_params_plain.html.erb
/usr/share/gems/gems/apipie-rails-0.5.18/app/views/apipie/apipies/apipie_404.html.erb
/usr/share/gems/gems/apipie-rails-0.5.18/app/views/apipie/apipies/apipie_checksum.json.erb
/usr/share/gems/gems/apipie-rails-0.5.18/app/views/apipie/apipies/getting_started.html.erb
/usr/share/gems/gems/apipie-rails-0.5.18/app/views/apipie/apipies/index.html.erb
/usr/share/gems/gems/apipie-rails-0.5.18/app/views/apipie/apipies/method.html.erb
/usr/share/gems/gems/apipie-rails-0.5.18/app/views/apipie/apipies/plain.html.erb
/usr/share/gems/gems/apipie-rails-0.5.18/app/views/apipie/apipies/resource.html.erb
/usr/share/gems/gems/apipie-rails-0.5.18/app/views/apipie/apipies/static.html.erb
/usr/share/gems/gems/apipie-rails-0.5.18/app/views/layouts
/usr/share/gems/gems/apipie-rails-0.5.18/app/views/layouts/apipie
/usr/share/gems/gems/apipie-rails-0.5.18/app/views/layouts/apipie/apipie.html.erb
/usr/share/gems/gems/apipie-rails-0.5.18/config
/usr/share/gems/gems/apipie-rails-0.5.18/config/locales
/usr/share/gems/gems/apipie-rails-0.5.18/config/locales/de.yml
/usr/share/gems/gems/apipie-rails-0.5.18/config/locales/en.yml
/usr/share/gems/gems/apipie-rails-0.5.18/config/locales/es.yml
/usr/share/gems/gems/apipie-rails-0.5.18/config/locales/fr.yml
/usr/share/gems/gems/apipie-rails-0.5.18/config/locales/it.yml
/usr/share/gems/gems/apipie-rails-0.5.18/config/locales/ja.yml
/usr/share/gems/gems/apipie-rails-0.5.18/config/locales/pl.yml
/usr/share/gems/gems/apipie-rails-0.5.18/config/locales/pt-BR.yml
/usr/share/gems/gems/apipie-rails-0.5.18/config/locales/ru.yml
/usr/share/gems/gems/apipie-rails-0.5.18/config/locales/tr.yml
/usr/share/gems/gems/apipie-rails-0.5.18/config/locales/zh-CN.yml
/usr/share/gems/gems/apipie-rails-0.5.18/config/locales/zh-TW.yml
/usr/share/gems/gems/apipie-rails-0.5.18/lib
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie-rails.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/apipie_module.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/application.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/configuration.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/core_ext
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/core_ext/route.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/dsl_definition.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/error_description.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/errors.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/extractor
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/extractor.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/extractor/collector.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/extractor/recorder.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/extractor/writer.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/helpers.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/markup.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/method_description.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/middleware
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/middleware/checksum_in_headers.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/param_description.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/railtie.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/resource_description.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/response_description.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/response_description_adapter.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/routes_formatter.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/routing.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/rspec
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/rspec/response_validation_helper.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/see_description.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/static_dispatcher.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/swagger_generator.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/tag_list_description.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/validator.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/apipie/version.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/generators
/usr/share/gems/gems/apipie-rails-0.5.18/lib/generators/apipie
/usr/share/gems/gems/apipie-rails-0.5.18/lib/generators/apipie/install
/usr/share/gems/gems/apipie-rails-0.5.18/lib/generators/apipie/install/README
/usr/share/gems/gems/apipie-rails-0.5.18/lib/generators/apipie/install/install_generator.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/generators/apipie/install/templates
/usr/share/gems/gems/apipie-rails-0.5.18/lib/generators/apipie/install/templates/initializer.rb.erb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/generators/apipie/views_generator.rb
/usr/share/gems/gems/apipie-rails-0.5.18/lib/tasks
/usr/share/gems/gems/apipie-rails-0.5.18/lib/tasks/apipie.rake
/usr/share/gems/specifications/apipie-rails-0.5.18.gemspec

References

Summary

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