Skip to main content

Ruby script for CentOS 7

Comments

4 comments

  • cPanelMichael
    Hello :) cPanel provides Rails 2.3, but it is integrated with Mongrel, which doesn't work with any version of Ruby other than 1.8.7 (the version shipped with CentOS 6). Thus, there's no native support for Rails with cPanel on CentOS 7.x systems. However, the "/scripts/installruby" command is still offered on CentOS 7.x for users that want to manually install and configure Mod_Passenger. You may find this unsupported workaround helpful: How to use cPanel > Ruby on Rails area with Ruby 2 and Rails 4 Thank you.
    0
  • SuperSajuuk
    Hello :) cPanel provides Rails 2.3, but it is integrated with Mongrel, which doesn't work with any version of Ruby other than 1.8.7 (the version shipped with CentOS 6). Thus, there's no native support for Rails with cPanel on CentOS 7.x systems. However, the "/scripts/installruby" command is still offered on CentOS 7.x for users that want to manually install and configure Mod_Passenger. You may find this unsupported workaround helpful: How to use cPanel > Ruby on Rails area with Ruby 2 and Rails 4 Thank you.

    Hi @cPanelMichael thanks for your reply. My question was more about whether there will be any update to the installruby script for CentOS 7, but from how I understand your comment, this won't happen because Mongrel is integrated and it only supports Ruby 1.8.7 and this is provided by CentOS 6. I'll try the guide you posted and see if that works. Thanks! :)
    0
  • cPanelMichael
    My question was more about whether there will be any update to the installruby script for CentOS 7, but from how I understand your comment, this won't happen because Mongrel is integrated and it only supports Ruby 1.8.7 and this is provided by CentOS 6.

    We do not currently support Ruby installations on CentOS 7, CloudLinux 7, or RHEL 7, and there's no time frame or decision on when that will happen at this time. You can subscribe to the feature request at the below URL to receive updates on this feature: ruby app support through phusion passenger Thank you.
    0
  • SuperSajuuk
    Hi The guide worked, however the RubyGems panel no longer has any use. This is because it uses RubyForge only for downloading gems and that site was closed down 2 years ago, which makes it utterly pointless to even use the guide because: 1) You have to use SSH to install gems (which may or may not even install properly) 2) The Rails app window only allows the creation of apps, which is redundant as you can just use "mkdir yourappname" and populate it with source code content of the app you want. 3) There is no way to start a Rails app in any case because they don't start in CLI even with Phusion Passenger. I really hope that support for Ruby and Ruby on Rails returns soon to cPanel. It's a popular programming language and it's a shame to see that only a very old (and outdated) Ruby / Mongrel version is supported atm. Hopefully that changes in the future. :) Regards.
    0

Please sign in to leave a comment.