How To Install rubygems on CentOS 8

rubygems is The Ruby standard for packaging ruby libraries

Introduction

In this tutorial we learn how to install rubygems on CentOS 8.

What is rubygems

RubyGems is the Ruby standard for publishing and managing third party libraries.

We can use yum or dnf to install rubygems on CentOS 8. In this tutorial we discuss both methods but you only need to choose one of method to install rubygems.

Install rubygems on CentOS 8 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install rubygems using dnf by running the following command:

sudo dnf -y install rubygems

Install rubygems on CentOS 8 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

CentOS Linux 8 - AppStream                                       43 kB/s | 4.3 kB     00:00    
CentOS Linux 8 - BaseOS                                          65 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - ContinuousRelease                               43 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - Extras                                          23 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - FastTrack                                       40 kB/s | 3.0 kB     00:00    
CentOS Linux 8 - HighAvailability                                36 kB/s | 3.9 kB     00:00    
CentOS Linux 8 - Plus                                            24 kB/s | 1.5 kB     00:00    
CentOS Linux 8 - PowerTools                                      50 kB/s | 4.3 kB     00:00    
Extra Packages for Enterprise Linux Modular 8 - x86_64           13 kB/s | 9.2 kB     00:00    
Extra Packages for Enterprise Linux 8 - x86_64                   24 kB/s | 8.5 kB     00:00    
Metadata cache created.

After updating yum database, We can install rubygems using yum by running the following command:

sudo yum -y install rubygems

How To Uninstall rubygems on CentOS 8

To uninstall only the rubygems package we can use the following command:

sudo dnf remove rubygems

rubygems Package Contents on CentOS 8

/usr/bin/gem
/usr/lib/gems
/usr/lib/gems/ruby
/usr/lib64/gems
/usr/lib64/gems/ruby
/usr/share/gems
/usr/share/gems/build_info
/usr/share/gems/cache
/usr/share/gems/doc
/usr/share/gems/extensions
/usr/share/gems/gems
/usr/share/gems/specifications
/usr/share/gems/specifications/default
/usr/share/gems/specifications/default/cmath-1.0.0.gemspec
/usr/share/gems/specifications/default/csv-1.0.0.gemspec
/usr/share/gems/specifications/default/date-1.0.0.gemspec
/usr/share/gems/specifications/default/dbm-1.0.0.gemspec
/usr/share/gems/specifications/default/etc-1.0.0.gemspec
/usr/share/gems/specifications/default/fcntl-1.0.0.gemspec
/usr/share/gems/specifications/default/fiddle-1.0.0.gemspec
/usr/share/gems/specifications/default/fileutils-1.0.2.gemspec
/usr/share/gems/specifications/default/gdbm-2.0.0.gemspec
/usr/share/gems/specifications/default/ipaddr-1.2.0.gemspec
/usr/share/gems/specifications/default/scanf-1.0.0.gemspec
/usr/share/gems/specifications/default/sdbm-1.0.0.gemspec
/usr/share/gems/specifications/default/stringio-0.0.1.gemspec
/usr/share/gems/specifications/default/strscan-1.0.0.gemspec
/usr/share/gems/specifications/default/webrick-1.4.2.1.gemspec
/usr/share/gems/specifications/default/zlib-1.0.0.gemspec
/usr/share/rubygems
/usr/share/rubygems/rubygems
/usr/share/rubygems/rubygems.rb
/usr/share/rubygems/rubygems/available_set.rb
/usr/share/rubygems/rubygems/basic_specification.rb
/usr/share/rubygems/rubygems/bundler_version_finder.rb
/usr/share/rubygems/rubygems/command.rb
/usr/share/rubygems/rubygems/command_manager.rb
/usr/share/rubygems/rubygems/commands
/usr/share/rubygems/rubygems/commands/build_command.rb
/usr/share/rubygems/rubygems/commands/cert_command.rb
/usr/share/rubygems/rubygems/commands/check_command.rb
/usr/share/rubygems/rubygems/commands/cleanup_command.rb
/usr/share/rubygems/rubygems/commands/contents_command.rb
/usr/share/rubygems/rubygems/commands/dependency_command.rb
/usr/share/rubygems/rubygems/commands/environment_command.rb
/usr/share/rubygems/rubygems/commands/fetch_command.rb
/usr/share/rubygems/rubygems/commands/generate_index_command.rb
/usr/share/rubygems/rubygems/commands/help_command.rb
/usr/share/rubygems/rubygems/commands/install_command.rb
/usr/share/rubygems/rubygems/commands/list_command.rb
/usr/share/rubygems/rubygems/commands/lock_command.rb
/usr/share/rubygems/rubygems/commands/mirror_command.rb
/usr/share/rubygems/rubygems/commands/open_command.rb
/usr/share/rubygems/rubygems/commands/outdated_command.rb
/usr/share/rubygems/rubygems/commands/owner_command.rb
/usr/share/rubygems/rubygems/commands/pristine_command.rb
/usr/share/rubygems/rubygems/commands/push_command.rb
/usr/share/rubygems/rubygems/commands/query_command.rb
/usr/share/rubygems/rubygems/commands/rdoc_command.rb
/usr/share/rubygems/rubygems/commands/search_command.rb
/usr/share/rubygems/rubygems/commands/server_command.rb
/usr/share/rubygems/rubygems/commands/setup_command.rb
/usr/share/rubygems/rubygems/commands/signin_command.rb
/usr/share/rubygems/rubygems/commands/signout_command.rb
/usr/share/rubygems/rubygems/commands/sources_command.rb
/usr/share/rubygems/rubygems/commands/specification_command.rb
/usr/share/rubygems/rubygems/commands/stale_command.rb
/usr/share/rubygems/rubygems/commands/uninstall_command.rb
/usr/share/rubygems/rubygems/commands/unpack_command.rb
/usr/share/rubygems/rubygems/commands/update_command.rb
/usr/share/rubygems/rubygems/commands/which_command.rb
/usr/share/rubygems/rubygems/commands/yank_command.rb
/usr/share/rubygems/rubygems/compatibility.rb
/usr/share/rubygems/rubygems/config_file.rb
/usr/share/rubygems/rubygems/core_ext
/usr/share/rubygems/rubygems/core_ext/kernel_gem.rb
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb
/usr/share/rubygems/rubygems/defaults
/usr/share/rubygems/rubygems/defaults.rb
/usr/share/rubygems/rubygems/defaults/operating_system.rb
/usr/share/rubygems/rubygems/dependency.rb
/usr/share/rubygems/rubygems/dependency_installer.rb
/usr/share/rubygems/rubygems/dependency_list.rb
/usr/share/rubygems/rubygems/deprecate.rb
/usr/share/rubygems/rubygems/doctor.rb
/usr/share/rubygems/rubygems/errors.rb
/usr/share/rubygems/rubygems/exceptions.rb
/usr/share/rubygems/rubygems/ext
/usr/share/rubygems/rubygems/ext.rb
/usr/share/rubygems/rubygems/ext/build_error.rb
/usr/share/rubygems/rubygems/ext/builder.rb
/usr/share/rubygems/rubygems/ext/cmake_builder.rb
/usr/share/rubygems/rubygems/ext/configure_builder.rb
/usr/share/rubygems/rubygems/ext/ext_conf_builder.rb
/usr/share/rubygems/rubygems/ext/rake_builder.rb
/usr/share/rubygems/rubygems/gem_runner.rb
/usr/share/rubygems/rubygems/gemcutter_utilities.rb
/usr/share/rubygems/rubygems/indexer.rb
/usr/share/rubygems/rubygems/install_default_message.rb
/usr/share/rubygems/rubygems/install_message.rb
/usr/share/rubygems/rubygems/install_update_options.rb
/usr/share/rubygems/rubygems/installer.rb
/usr/share/rubygems/rubygems/installer_test_case.rb
/usr/share/rubygems/rubygems/local_remote_options.rb
/usr/share/rubygems/rubygems/mock_gem_ui.rb
/usr/share/rubygems/rubygems/name_tuple.rb
/usr/share/rubygems/rubygems/package
/usr/share/rubygems/rubygems/package.rb
/usr/share/rubygems/rubygems/package/digest_io.rb
/usr/share/rubygems/rubygems/package/file_source.rb
/usr/share/rubygems/rubygems/package/io_source.rb
/usr/share/rubygems/rubygems/package/old.rb
/usr/share/rubygems/rubygems/package/source.rb
/usr/share/rubygems/rubygems/package/tar_header.rb
/usr/share/rubygems/rubygems/package/tar_reader
/usr/share/rubygems/rubygems/package/tar_reader.rb
/usr/share/rubygems/rubygems/package/tar_reader/entry.rb
/usr/share/rubygems/rubygems/package/tar_test_case.rb
/usr/share/rubygems/rubygems/package/tar_writer.rb
/usr/share/rubygems/rubygems/package_task.rb
/usr/share/rubygems/rubygems/path_support.rb
/usr/share/rubygems/rubygems/platform.rb
/usr/share/rubygems/rubygems/psych_additions.rb
/usr/share/rubygems/rubygems/psych_tree.rb
/usr/share/rubygems/rubygems/rdoc.rb
/usr/share/rubygems/rubygems/remote_fetcher.rb
/usr/share/rubygems/rubygems/request
/usr/share/rubygems/rubygems/request.rb
/usr/share/rubygems/rubygems/request/connection_pools.rb
/usr/share/rubygems/rubygems/request/http_pool.rb
/usr/share/rubygems/rubygems/request/https_pool.rb
/usr/share/rubygems/rubygems/request_set
/usr/share/rubygems/rubygems/request_set.rb
/usr/share/rubygems/rubygems/request_set/gem_dependency_api.rb
/usr/share/rubygems/rubygems/request_set/lockfile
/usr/share/rubygems/rubygems/request_set/lockfile.rb
/usr/share/rubygems/rubygems/request_set/lockfile/parser.rb
/usr/share/rubygems/rubygems/request_set/lockfile/tokenizer.rb
/usr/share/rubygems/rubygems/requirement.rb
/usr/share/rubygems/rubygems/resolver
/usr/share/rubygems/rubygems/resolver.rb
/usr/share/rubygems/rubygems/resolver/activation_request.rb
/usr/share/rubygems/rubygems/resolver/api_set.rb
/usr/share/rubygems/rubygems/resolver/api_specification.rb
/usr/share/rubygems/rubygems/resolver/best_set.rb
/usr/share/rubygems/rubygems/resolver/composed_set.rb
/usr/share/rubygems/rubygems/resolver/conflict.rb
/usr/share/rubygems/rubygems/resolver/current_set.rb
/usr/share/rubygems/rubygems/resolver/dependency_request.rb
/usr/share/rubygems/rubygems/resolver/git_set.rb
/usr/share/rubygems/rubygems/resolver/git_specification.rb
/usr/share/rubygems/rubygems/resolver/index_set.rb
/usr/share/rubygems/rubygems/resolver/index_specification.rb
/usr/share/rubygems/rubygems/resolver/installed_specification.rb
/usr/share/rubygems/rubygems/resolver/installer_set.rb
/usr/share/rubygems/rubygems/resolver/local_specification.rb
/usr/share/rubygems/rubygems/resolver/lock_set.rb
/usr/share/rubygems/rubygems/resolver/lock_specification.rb
/usr/share/rubygems/rubygems/resolver/molinillo
/usr/share/rubygems/rubygems/resolver/molinillo.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/delegates
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/delegates/specification_provider.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/action.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/add_vertex.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/delete_edge.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/log.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/set_payload.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/tag.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/vertex.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/errors.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/gem_metadata.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/modules
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/modules/ui.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/resolution.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/resolver.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/state.rb
/usr/share/rubygems/rubygems/resolver/requirement_list.rb
/usr/share/rubygems/rubygems/resolver/set.rb
/usr/share/rubygems/rubygems/resolver/source_set.rb
/usr/share/rubygems/rubygems/resolver/spec_specification.rb
/usr/share/rubygems/rubygems/resolver/specification.rb
/usr/share/rubygems/rubygems/resolver/stats.rb
/usr/share/rubygems/rubygems/resolver/vendor_set.rb
/usr/share/rubygems/rubygems/resolver/vendor_specification.rb
/usr/share/rubygems/rubygems/safe_yaml.rb
/usr/share/rubygems/rubygems/security
/usr/share/rubygems/rubygems/security.rb
/usr/share/rubygems/rubygems/security/policies.rb
/usr/share/rubygems/rubygems/security/policy.rb
/usr/share/rubygems/rubygems/security/signer.rb
/usr/share/rubygems/rubygems/security/trust_dir.rb
/usr/share/rubygems/rubygems/security_option.rb
/usr/share/rubygems/rubygems/server.rb
/usr/share/rubygems/rubygems/source
/usr/share/rubygems/rubygems/source.rb
/usr/share/rubygems/rubygems/source/git.rb
/usr/share/rubygems/rubygems/source/installed.rb
/usr/share/rubygems/rubygems/source/local.rb
/usr/share/rubygems/rubygems/source/lock.rb
/usr/share/rubygems/rubygems/source/specific_file.rb
/usr/share/rubygems/rubygems/source/vendor.rb
/usr/share/rubygems/rubygems/source_list.rb
/usr/share/rubygems/rubygems/source_local.rb
/usr/share/rubygems/rubygems/source_specific_file.rb
/usr/share/rubygems/rubygems/spec_fetcher.rb
/usr/share/rubygems/rubygems/specification.rb
/usr/share/rubygems/rubygems/ssl_certs
/usr/share/rubygems/rubygems/stub_specification.rb
/usr/share/rubygems/rubygems/syck_hack.rb
/usr/share/rubygems/rubygems/test_case.rb
/usr/share/rubygems/rubygems/test_utilities.rb
/usr/share/rubygems/rubygems/text.rb
/usr/share/rubygems/rubygems/uninstaller.rb
/usr/share/rubygems/rubygems/uri_formatter.rb
/usr/share/rubygems/rubygems/user_interaction.rb
/usr/share/rubygems/rubygems/util
/usr/share/rubygems/rubygems/util.rb
/usr/share/rubygems/rubygems/util/licenses.rb
/usr/share/rubygems/rubygems/util/list.rb
/usr/share/rubygems/rubygems/validator.rb
/usr/share/rubygems/rubygems/version.rb
/usr/share/rubygems/rubygems/version_option.rb
/usr/bin/gem
/usr/lib/gems
/usr/lib/gems/ruby
/usr/lib64/gems
/usr/lib64/gems/ruby
/usr/share/gems
/usr/share/gems/build_info
/usr/share/gems/cache
/usr/share/gems/doc
/usr/share/gems/extensions
/usr/share/gems/gems
/usr/share/gems/specifications
/usr/share/gems/specifications/default
/usr/share/gems/specifications/default/cmath-1.0.0.gemspec
/usr/share/gems/specifications/default/csv-1.0.0.gemspec
/usr/share/gems/specifications/default/date-1.0.0.gemspec
/usr/share/gems/specifications/default/dbm-1.0.0.gemspec
/usr/share/gems/specifications/default/etc-1.0.0.gemspec
/usr/share/gems/specifications/default/fcntl-1.0.0.gemspec
/usr/share/gems/specifications/default/fiddle-1.0.0.gemspec
/usr/share/gems/specifications/default/fileutils-1.0.2.gemspec
/usr/share/gems/specifications/default/gdbm-2.0.0.gemspec
/usr/share/gems/specifications/default/ipaddr-1.2.0.gemspec
/usr/share/gems/specifications/default/scanf-1.0.0.gemspec
/usr/share/gems/specifications/default/sdbm-1.0.0.gemspec
/usr/share/gems/specifications/default/stringio-0.0.1.gemspec
/usr/share/gems/specifications/default/strscan-1.0.0.gemspec
/usr/share/gems/specifications/default/webrick-1.4.2.gemspec
/usr/share/gems/specifications/default/zlib-1.0.0.gemspec
/usr/share/rubygems
/usr/share/rubygems/rubygems
/usr/share/rubygems/rubygems.rb
/usr/share/rubygems/rubygems/available_set.rb
/usr/share/rubygems/rubygems/basic_specification.rb
/usr/share/rubygems/rubygems/bundler_version_finder.rb
/usr/share/rubygems/rubygems/command.rb
/usr/share/rubygems/rubygems/command_manager.rb
/usr/share/rubygems/rubygems/commands
/usr/share/rubygems/rubygems/commands/build_command.rb
/usr/share/rubygems/rubygems/commands/cert_command.rb
/usr/share/rubygems/rubygems/commands/check_command.rb
/usr/share/rubygems/rubygems/commands/cleanup_command.rb
/usr/share/rubygems/rubygems/commands/contents_command.rb
/usr/share/rubygems/rubygems/commands/dependency_command.rb
/usr/share/rubygems/rubygems/commands/environment_command.rb
/usr/share/rubygems/rubygems/commands/fetch_command.rb
/usr/share/rubygems/rubygems/commands/generate_index_command.rb
/usr/share/rubygems/rubygems/commands/help_command.rb
/usr/share/rubygems/rubygems/commands/install_command.rb
/usr/share/rubygems/rubygems/commands/list_command.rb
/usr/share/rubygems/rubygems/commands/lock_command.rb
/usr/share/rubygems/rubygems/commands/mirror_command.rb
/usr/share/rubygems/rubygems/commands/open_command.rb
/usr/share/rubygems/rubygems/commands/outdated_command.rb
/usr/share/rubygems/rubygems/commands/owner_command.rb
/usr/share/rubygems/rubygems/commands/pristine_command.rb
/usr/share/rubygems/rubygems/commands/push_command.rb
/usr/share/rubygems/rubygems/commands/query_command.rb
/usr/share/rubygems/rubygems/commands/rdoc_command.rb
/usr/share/rubygems/rubygems/commands/search_command.rb
/usr/share/rubygems/rubygems/commands/server_command.rb
/usr/share/rubygems/rubygems/commands/setup_command.rb
/usr/share/rubygems/rubygems/commands/signin_command.rb
/usr/share/rubygems/rubygems/commands/signout_command.rb
/usr/share/rubygems/rubygems/commands/sources_command.rb
/usr/share/rubygems/rubygems/commands/specification_command.rb
/usr/share/rubygems/rubygems/commands/stale_command.rb
/usr/share/rubygems/rubygems/commands/uninstall_command.rb
/usr/share/rubygems/rubygems/commands/unpack_command.rb
/usr/share/rubygems/rubygems/commands/update_command.rb
/usr/share/rubygems/rubygems/commands/which_command.rb
/usr/share/rubygems/rubygems/commands/yank_command.rb
/usr/share/rubygems/rubygems/compatibility.rb
/usr/share/rubygems/rubygems/config_file.rb
/usr/share/rubygems/rubygems/core_ext
/usr/share/rubygems/rubygems/core_ext/kernel_gem.rb
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb
/usr/share/rubygems/rubygems/defaults
/usr/share/rubygems/rubygems/defaults.rb
/usr/share/rubygems/rubygems/defaults/operating_system.rb
/usr/share/rubygems/rubygems/dependency.rb
/usr/share/rubygems/rubygems/dependency_installer.rb
/usr/share/rubygems/rubygems/dependency_list.rb
/usr/share/rubygems/rubygems/deprecate.rb
/usr/share/rubygems/rubygems/doctor.rb
/usr/share/rubygems/rubygems/errors.rb
/usr/share/rubygems/rubygems/exceptions.rb
/usr/share/rubygems/rubygems/ext
/usr/share/rubygems/rubygems/ext.rb
/usr/share/rubygems/rubygems/ext/build_error.rb
/usr/share/rubygems/rubygems/ext/builder.rb
/usr/share/rubygems/rubygems/ext/cmake_builder.rb
/usr/share/rubygems/rubygems/ext/configure_builder.rb
/usr/share/rubygems/rubygems/ext/ext_conf_builder.rb
/usr/share/rubygems/rubygems/ext/rake_builder.rb
/usr/share/rubygems/rubygems/gem_runner.rb
/usr/share/rubygems/rubygems/gemcutter_utilities.rb
/usr/share/rubygems/rubygems/indexer.rb
/usr/share/rubygems/rubygems/install_default_message.rb
/usr/share/rubygems/rubygems/install_message.rb
/usr/share/rubygems/rubygems/install_update_options.rb
/usr/share/rubygems/rubygems/installer.rb
/usr/share/rubygems/rubygems/installer_test_case.rb
/usr/share/rubygems/rubygems/local_remote_options.rb
/usr/share/rubygems/rubygems/mock_gem_ui.rb
/usr/share/rubygems/rubygems/name_tuple.rb
/usr/share/rubygems/rubygems/package
/usr/share/rubygems/rubygems/package.rb
/usr/share/rubygems/rubygems/package/digest_io.rb
/usr/share/rubygems/rubygems/package/file_source.rb
/usr/share/rubygems/rubygems/package/io_source.rb
/usr/share/rubygems/rubygems/package/old.rb
/usr/share/rubygems/rubygems/package/source.rb
/usr/share/rubygems/rubygems/package/tar_header.rb
/usr/share/rubygems/rubygems/package/tar_reader
/usr/share/rubygems/rubygems/package/tar_reader.rb
/usr/share/rubygems/rubygems/package/tar_reader/entry.rb
/usr/share/rubygems/rubygems/package/tar_test_case.rb
/usr/share/rubygems/rubygems/package/tar_writer.rb
/usr/share/rubygems/rubygems/package_task.rb
/usr/share/rubygems/rubygems/path_support.rb
/usr/share/rubygems/rubygems/platform.rb
/usr/share/rubygems/rubygems/psych_additions.rb
/usr/share/rubygems/rubygems/psych_tree.rb
/usr/share/rubygems/rubygems/rdoc.rb
/usr/share/rubygems/rubygems/remote_fetcher.rb
/usr/share/rubygems/rubygems/request
/usr/share/rubygems/rubygems/request.rb
/usr/share/rubygems/rubygems/request/connection_pools.rb
/usr/share/rubygems/rubygems/request/http_pool.rb
/usr/share/rubygems/rubygems/request/https_pool.rb
/usr/share/rubygems/rubygems/request_set
/usr/share/rubygems/rubygems/request_set.rb
/usr/share/rubygems/rubygems/request_set/gem_dependency_api.rb
/usr/share/rubygems/rubygems/request_set/lockfile
/usr/share/rubygems/rubygems/request_set/lockfile.rb
/usr/share/rubygems/rubygems/request_set/lockfile/parser.rb
/usr/share/rubygems/rubygems/request_set/lockfile/tokenizer.rb
/usr/share/rubygems/rubygems/requirement.rb
/usr/share/rubygems/rubygems/resolver
/usr/share/rubygems/rubygems/resolver.rb
/usr/share/rubygems/rubygems/resolver/activation_request.rb
/usr/share/rubygems/rubygems/resolver/api_set.rb
/usr/share/rubygems/rubygems/resolver/api_specification.rb
/usr/share/rubygems/rubygems/resolver/best_set.rb
/usr/share/rubygems/rubygems/resolver/composed_set.rb
/usr/share/rubygems/rubygems/resolver/conflict.rb
/usr/share/rubygems/rubygems/resolver/current_set.rb
/usr/share/rubygems/rubygems/resolver/dependency_request.rb
/usr/share/rubygems/rubygems/resolver/git_set.rb
/usr/share/rubygems/rubygems/resolver/git_specification.rb
/usr/share/rubygems/rubygems/resolver/index_set.rb
/usr/share/rubygems/rubygems/resolver/index_specification.rb
/usr/share/rubygems/rubygems/resolver/installed_specification.rb
/usr/share/rubygems/rubygems/resolver/installer_set.rb
/usr/share/rubygems/rubygems/resolver/local_specification.rb
/usr/share/rubygems/rubygems/resolver/lock_set.rb
/usr/share/rubygems/rubygems/resolver/lock_specification.rb
/usr/share/rubygems/rubygems/resolver/molinillo
/usr/share/rubygems/rubygems/resolver/molinillo.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/delegates
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/delegates/resolution_state.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/delegates/specification_provider.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/action.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/add_edge_no_circular.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/add_vertex.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/delete_edge.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/detach_vertex_named.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/log.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/set_payload.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/tag.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/dependency_graph/vertex.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/errors.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/gem_metadata.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/modules
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/modules/specification_provider.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/modules/ui.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/resolution.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/resolver.rb
/usr/share/rubygems/rubygems/resolver/molinillo/lib/molinillo/state.rb
/usr/share/rubygems/rubygems/resolver/requirement_list.rb
/usr/share/rubygems/rubygems/resolver/set.rb
/usr/share/rubygems/rubygems/resolver/source_set.rb
/usr/share/rubygems/rubygems/resolver/spec_specification.rb
/usr/share/rubygems/rubygems/resolver/specification.rb
/usr/share/rubygems/rubygems/resolver/stats.rb
/usr/share/rubygems/rubygems/resolver/vendor_set.rb
/usr/share/rubygems/rubygems/resolver/vendor_specification.rb
/usr/share/rubygems/rubygems/safe_yaml.rb
/usr/share/rubygems/rubygems/security
/usr/share/rubygems/rubygems/security.rb
/usr/share/rubygems/rubygems/security/policies.rb
/usr/share/rubygems/rubygems/security/policy.rb
/usr/share/rubygems/rubygems/security/signer.rb
/usr/share/rubygems/rubygems/security/trust_dir.rb
/usr/share/rubygems/rubygems/security_option.rb
/usr/share/rubygems/rubygems/server.rb
/usr/share/rubygems/rubygems/source
/usr/share/rubygems/rubygems/source.rb
/usr/share/rubygems/rubygems/source/git.rb
/usr/share/rubygems/rubygems/source/installed.rb
/usr/share/rubygems/rubygems/source/local.rb
/usr/share/rubygems/rubygems/source/lock.rb
/usr/share/rubygems/rubygems/source/specific_file.rb
/usr/share/rubygems/rubygems/source/vendor.rb
/usr/share/rubygems/rubygems/source_list.rb
/usr/share/rubygems/rubygems/source_local.rb
/usr/share/rubygems/rubygems/source_specific_file.rb
/usr/share/rubygems/rubygems/spec_fetcher.rb
/usr/share/rubygems/rubygems/specification.rb
/usr/share/rubygems/rubygems/ssl_certs
/usr/share/rubygems/rubygems/stub_specification.rb
/usr/share/rubygems/rubygems/syck_hack.rb
/usr/share/rubygems/rubygems/test_case.rb
/usr/share/rubygems/rubygems/test_utilities.rb
/usr/share/rubygems/rubygems/text.rb
/usr/share/rubygems/rubygems/uninstaller.rb
/usr/share/rubygems/rubygems/uri_formatter.rb
/usr/share/rubygems/rubygems/user_interaction.rb
/usr/share/rubygems/rubygems/util
/usr/share/rubygems/rubygems/util.rb
/usr/share/rubygems/rubygems/util/licenses.rb
/usr/share/rubygems/rubygems/util/list.rb
/usr/share/rubygems/rubygems/validator.rb
/usr/share/rubygems/rubygems/version.rb
/usr/share/rubygems/rubygems/version_option.rb

References

Summary

In this tutorial we learn how to install rubygems on CentOS 8 using yum and dnf.