Issue
You may encounter a message like:
Package alt-ruby not installed. Install Ruby Selector for cPanel.This typically means that the Ruby packages required to support Ruby applications under cPanel (via the Ruby Selector) are missing.
Environment
- Ruby Selector
Solution
What changed
- The older package, ea-ruby24-mod_passenger (which provided support for Ruby 2.4), is deprecated.
- For modern Ruby applications using Ruby 2.7 or newer, the recommended package is now ea-ruby27-mod_passenger.
- On systems running CloudLinux OS Shared OS 8 (or newer), only ea-ruby27-mod_passenger is supported.
What to do
- Install the Ruby Selector and Passenger for Ruby 2.7 using your package manager. For example:
yum install ea-ruby27-mod_passenger
cagefsctl --force-update-
If you previously relied on ea-ruby24-mod_passenger, migrate your applications to Ruby 2.7 (or newer).
Once everything is verified, you can safely stop using the deprecated Ruby 2.4 package.
Why this matters
- Ruby 2.4 is officially end-of-life and no longer receives security updates. Continuing to use it can leave applications vulnerable.
- By using Ruby 2.7 (or newer) with Passenger, you ensure better compatibility, security, and performance for your Ruby web applications under cPanel.
- An upcoming release for EasyApache4 and mod_passenger will be updated for ruby 3.4.5
Useful links
- https://docs.cloudlinux.com/shared/cloudlinux_os_components/#ruby-selector
- https://docs.cloudlinux.com/shared/cloudlinux_os_components/#installation-and-update-4
- https://docs.cloudlinux.com/shared/cloudlinux_os_components/#easyapache-4
Comments
0 comments
Please sign in to leave a comment.