Page tree
Skip to end of metadata
Go to start of metadata

Overview

Requirements

Install Ruby

Troubleshoot your installation

Uninstall Ruby

yum

rpm

Manual compilation


Important:

 Ruby on Rails does not function on Amazon Linux servers and is not supported on CentOS 7 servers.


 

Requirements

Before you install Ruby, make certain that you meet the following installation requirements:

Warnings:

  • We deprecated Ruby on Rails in cPanel & WHM version 66. We strongly recommend that you install Ruby on your system via the following EasyApache 4 RPMs:
    • ea-ruby24-mod_passenger

    • ea-ruby24-ruby-devel
  • We also strongly recommend that you use cPanel's Application Manager interface (Home >> Software >> Application Manager) to manage Ruby applications.
  • For more information, read our How to Install Redmine documentation.
  • Your server must run CentOS 6 or 7, Red Hat® Enterprise Linux® (RHEL) 6 or 7, or CloudLinux™ 6 or 7.

    Note:

    We do not currently support Ruby on Rails installations on CentOS 7, CloudLinux 7, or RHEL 7.

  • You must possess root-level access on the server.
  • Your server's installation of yum must function properly.

    Note:

    To test your YUM configuration, log in to your server via SSH as the root user and run the following command:

    yum list ruby

    If you do not see any errors after you run this command, your YUM configuration functions properly. The output of this command should resemble the following example:

    Setting up repositories
    update                    100% |=========================|  951 B    00:00
    base                      100% |=========================| 1.1 kB    00:00
    addons                    100% |=========================|  951 B    00:00
    extras                    100% |=========================|  951 B    00:00
    Reading repository metadata in from local files
    primary.xml.gz            100% |=========================|  83 kB    00:00
    sqlite cache needs updating, reading in metadata
    update    : ################################################## 287/287
    Excluding Packages in global exclude list
    Finished

Additional documentation