transfer jackpot banner pattern
transfer jackpot logo
26
days
:
03
hours
:
59
mins
:
58
secs
Learn more
100% Australian Owned and OperatedSupport Centre13 24 85Pay an InvoiceLOG IN
supportcentre scaled
Support Centre
Find the answers to your questions and get the support you need with the VentraIP help centre.

Setting up a Ruby web application in cPanel

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>
misc content center scaled