24/7 Australian Sales & SupportCall 13 24 85
View all Products Close Menu Menu
Setting up a Ruby web application in cPanel
Updated Thursday January 7th 2021 / Category Web Hosting

IMPORTANT: This is an advanced guide, and is intended to help Ruby application developers get started

cPanel supports the ability to create a Ruby application, here are the steps:

  1. Login to cPanel
  2. Click on Setup Ruby App under Software
  3. Under Setup new application
    1. Select the Ruby version you want to use
    2. Set the file path to your Ruby application
    3. Set the Domain and URI you want your application to be publicly accessed from
  4. Click Setup

Installing and managing Ruby Gems

There are a few ways to install a new gem in your ruby app.

Via the cPanel interface

The easiest way to install a Ruby gem, is to add them using the cPanel interface. Here are the steps:

  1. Login to cPanel
  2. Click on Setup Ruby App under Software
  3. Next to Modules click Show
  4. In the text box that appears above the list of modules, search of the gem you want to install (you may be asked to select a version).
  5. Click Add

Via SSH

Another way to install a Ruby gem, is via SSH. Here are the steps:

  1. Login to your service via SSH
  2. Run the command provided in the cPanel interface, to enter your applications virtual environment
    cPanel Ruby Virtual Envrionment
  3. Once you’ve done that, you can install gems using the following shell command gem install <gem name here>
Can’t find the answers you're looking for? Check out these other methods of support!