How To Install Ruby Gems in cPanel

You are here:
Estimated reading time: 1 min

Ruby Gems are collections of functions that allow you to perform tasks in Ruby, it is a package manager for the Ruby programming language. You will need to install a Gem before you can use it inside a Ruby program. It provides a standard format for the distribution of Ruby programs and libraries.

Without requiring shell access, you can install, view, update, and reinstall Ruby Gems in cpanel.

Follow these steps to install Ruby Gems in cPanel

  • Log into your cPanel
  • Scroll to Software and Select Ruby Gems
  • Type the name of the Ruby Gem in the Install a Ruby Gem field.
  • Search for your Gem in the search field
  • Click Install Now.
    The Ruby Gem will be added to the Installed Ruby Gem(s) table, where you can update, reinstall, uninstall, or view documentation for each Ruby Gem by clicking the appropriate button.

You can also install a gem by running the command “gem install [gemname]” via the command line interface provided in cPanel.

Note: Gems are installed directly from the RubyForge repository.
Warning: This installer only works for the legacy Ruby installation and does not affect applications that you install with the Application Manager interface.

Was this article helpful?
Dislike 0

Author

Joshua

Web Hosting Geek Technical Support Staff G Online Sites