Skip to main content

ea-ruby27 packages missing on AlmaLinux 9

Comments

7 comments

  • cPRex Jurassic Moderator
    Hey there! This inspired some good discussion this morning! It turns out this is intended, but not in the way you're running into it. There are a few issues we uncovered: -the ruby packages should not be listed at all on AlmaLinux 9 machines and -you should be using the ea-apache24-mod-passenger package without ruby, even though the docs say not to do that: Using Passenger Applications | cPanel & WHM Documentation Can you try installing that instead and let me know if that works well?
    0
  • vatra
    So, ea-apache24-mod-passenger will not work on AlmaLinux 8 or any AlmaLinux?
    0
  • cPRex Jurassic Moderator
    That's also correct. I spoke with the developers about this and in general, it sounds like we're moving away from making Ruby part of the EA system, and just letting people use what they want. The documentation about ea-apache24-mod-passenger only working on certain versions is no longer correct, and that will be updated. But in general, you can just install ea-apache24-mod-passenger, and then configure apps to use the system Ruby that the OS provides. This keeps us from having to update versions that are out of date, and you have fewer dependencies to worry about on the system. Does that help with any confusion around this?
    0
  • vatra
    That is actually great, thank you! We take care of the installations, and you supply the app server. The latest state of things: Passenger: cPanel (ea-ruby27-mod_passenger) Ruby: cPanel (ruby27-*) Node.js: cPanel (nodejs20) Python: OS PYTHON NOTE: AlmaLinux 8.8 installs Python v3.6.8 from its default repository but we can install a newer one manually and instruct the Passenger to use it: echo -n /path/to/python > /etc/cpanel/ea4/passenger.python
    The change: Passenger: cPanel (ea-apache24-mod-passenger) Ruby: OS Node.js: OS Python: OS
    • So we install Ruby, Node.js, and Python ourselves and when creating an app in Application Manager we choose which version from the OS will be used.
    • Will you also be removing the Node.js package?
    0
  • cPRex Jurassic Moderator
    I haven't heard about anything related to the Node.JS package. It wouldn't surprise me if that also went the same path in the future, though.
    0
  • vatra
    So for now we install Node.js through cPanel (EA4). I don't seem to have ea-apache24-mod-passenger in EA4, how can I get it?
    0
  • cPRex Jurassic Moderator
    At this point, you should be able to install that through Yum.
    0

Please sign in to leave a comment.