I have been trying to install Passenger alongside Ruby and Rails on a brand new cPanel server running on VMware.
[root@cpanel ~]# httpd -v
Server version: Apache/2.4.23 (cPanel)
Server built: Aug 24 2016 19:30:51
The installation of Ruby Version Manager along with Ruby and Rails was very straightforward.
[root@cpanel ~]# ruby -v
ruby 2.3.1p112 (2016-04-26 revision 54768) [x86_64-linux]
[root@cpanel ~]# rails -v
I had encountered an issue installing phusion passenger which I managed to get around by doing the following:
# yum remove httpd-tools
# yum install ea-apache24-devel
I have now uploaded some site code, bundled it okay but get the following error within my apache2 error log:
[ 2016-09-21 20:43:22.8431 28169/7fba4005c700 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /home/dashboards/public_html/dashboards: An error occurred while starting up the preloader.
Error ID: fa2f979e
Error details saved to: /tmp/passenger-error-Ecl0JS.html
Message from application: cannot load such file -- rack (LoadError)
[ 2016-09-21 20:43:22.8896 28169/7fba3b7fe700 age/Cor/Con/CheckoutSession.cpp:285 ]: [Client 1-1] Cannot checkout session because a spawning error occurred. The identifier of the error is fa2f979e. Please see earlier logs for details about the error.
Any help appreciated.