Skip to main content

Installing Ruby on Rails along with Passenger on a cPanel server...

Comments

2 comments

  • nwilkins83
    I managed to get Phusion passenger installed 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) /usr/local/rvm/gems/ruby-2.3.1/gems/passenger-5.0.30/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:430:in `require' /usr/local/rvm/gems/ruby-2.3.1/gems/passenger-5.0.30/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:430:in `activate_gem' /usr/local/rvm/gems/ruby-2.3.1/gems/passenger-5.0.30/src/helper-scripts/rack-preloader.rb:102:in `preload_app' /usr/local/rvm/gems/ruby-2.3.1/gems/passenger-5.0.30/src/helper-scripts/rack-preloader.rb:156:in `' /usr/local/rvm/gems/ruby-2.3.1/gems/passenger-5.0.30/src/helper-scripts/rack-preloader.rb:30:in `' /usr/local/rvm/gems/ruby-2.3.1/gems/passenger-5.0.30/src/helper-scripts/rack-preloader.rb:29:in `' [ 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. Many Thanks Nick,
    0
  • cPanelMichael
    Hello, Mod_Passenger is unsupported in cPanel/WHM, however you may find the following thread helpful when researching workarounds: How to use cPanel > Ruby on Rails area with Ruby 2 and Rails 4 In addition, I encourage you to vote and add feedback to the existing feature request at: ruby app support through phusion passenger Thank you.
    0

Please sign in to leave a comment.