How to set up multiple Ruby versions with the cPanel Ruby Selector?

Log in to cPanel account.

If you are using the Jupiter theme, click Setup Ruby App under Software section:

Ruby app

Choose the Ruby version from the Ruby version listbox as per your choice.

ruby set up

Enter the application name in the App Directory text box.

Enter the domain name in the App Domain/URI listbox. You can also add texts to App Domain/URI textbox.

Click the Setup button. A new application detail form is added to the page.

Copy the Command from the application detail form for connecting to the virtual environment.

Login to your Hostginger hosting account using SSH & Paste the Command on terminal.

Run the command to check if the installation is done properly: 

ruby -v
If it is done, then the installed version of the ruby will be shown.
Was this answer helpful?

Related Articles

How to install Ruby Gems?

To install gems we can use the gem command-line program. Log in to your Hostginger hosting...

How to use the Interactive Ruby Shell to troubleshoot gems?

To start interactive Ruby Shell, type at the command prompt: irbAt the irb prompt, type the...

How to set up one Ruby version with the cPanel Ruby Selector?

Log into your Hostginger hosting account. Check the available Ruby versions. Type the following...