Package alt-ruby not installed. Install Cloudlinux Ruby Selector for cPanel WHM

Fix the 'Package alt-ruby not installed' error by installing CloudLinux Ruby Selector for cPanel/WHM. Step-by-step guide to enable Ruby applications

Package alt-ruby not installed. Install Cloudlinux Ruby Selector for cPanel WHM

💎 How to Install Ruby Selector on cPanel (CloudLinux)

If you're seeing this error:

"Package alt-ruby not installed. Install Ruby Selector for cPanel"

…it means the Ruby Selector is not yet configured on your CloudLinux + cPanel server.

This guide walks you through installing the necessary packages for Ruby Selector to work properly with EasyApache 4 (EA4) on CloudLinux.


🌐 Environment:

  • ✅ cPanel/WHM (EA4)

  • ✅ CloudLinux OS (v7, v8, or v9)

  • ❌ Ruby Selector not active or alt-ruby missing


🛠️ Solution: Install Ruby Selector Packages

📦 Step 1: Install Core Ruby Selector Packages

Run the following as root:

# yum groupinstall alt-ruby 
# yum install ea-ruby27-mod_passenger
# cagefsctl --force-update 

📦 Step 2: (If Needed) Install Additional alt-ruby Packages

If Ruby Selector still doesn't show up, run:

# yum install alt-ruby*
# cagefsctl --force-update 

This ensures all alternate Ruby versions and supporting libraries are installed into CageFS.


⚠️ Important Notes on Compatibility

🧾 Choose the correct Passenger module based on your CloudLinux OS version:

CloudLinux Version Supported Passenger Package(s) Notes
OS 6 ❌ Not supported ea-ruby27-mod_passenger not compatible
OS 7 ea-ruby24-mod_passenger
ea-ruby27-mod_passenger
Both versions supported
OS 8 ea-ruby27-mod_passenger only Use only Ruby 2.7 version
OS 9+ ea-apache24-mod-passenger For EA4 with CloudLinux 9 and above

✅ After Installation:

  • Log into cPanel

  • Navigate to Setup Ruby App

  • Create and manage your Ruby environments with ease 🎉

Share

What's Your Reaction?

Like Like 0
Dislike Dislike 0
Love Love 0
Funny Funny 0
Angry Angry 0
Sad Sad 0
Wow Wow 0