title: Ruby 2.3.3 application with Rails 4.2.1 and Gem 2.6.14 not working in Centos 6.9
body: <h2>Ruby 2.3.3 application with Rails 4.2.1, Gem 2.6.14 and passenger 5.1.11 not working in Centos 6.9 </h2>
  
  <p><strong>Error in Browser:</strong></p>
  
  <p>We're sorry, but something went wrong.
  The issue has been logged for investigation. Please try again later.</p>
  
  <p><strong>Apache error log:</strong></p>
  
  <pre><code>App 3307 stdout: 
  App 3307 stdout: 
  [ E 2017-11-16 04:58:37.4783 3191/To age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /domainname/httpdocs: An error occurred while starting up the preloader.
    Error ID: cc913e9e
    Error details saved to: /tmp/passenger-error-rMdbsf.html
    Message from application: undefined method `web_console' for #&lt;Rails::Application::Configuration:0x005617ca458e08&gt;
  Did you mean?  console (NoMethodError)
    /usr/local/lib/ruby/gems/2.3.0/gems/railties-4.2.1/lib/rails/railtie/configuration.rb:95:in `method_missing'
    /domainname/httpdocs/config/application.rb:38:in `&lt;class:Application&gt;'
    /domainname/httpdocs/config/application.rb:15:in `&lt;module:Lobbylights421&gt;'
    /domainname/httpdocs/config/application.rb:14:in `&lt;top (required)&gt;'
    /domainname/httpdocs/config/environment.rb:2:in `require'
    /domainname/httpdocs/config/environment.rb:2:in `&lt;top (required)&gt;'
    config.ru:3:in `require'
    config.ru:3:in `block in &lt;main&gt;'
    /usr/local/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/builder.rb:55:in `instance_eval'
    /usr/local/lib/ruby/gems/2.3.0/gems/rack-1.6.8/lib/rack/builder.rb:55:in `initialize'
    config.ru:1:in `new'
    config.ru:1:in `&lt;main&gt;'
    /usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.1.11/src/helper-scripts/rack-preloader.rb:110:in `eval'
    /usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.1.11/src/helper-scripts/rack-preloader.rb:110:in `preload_app'
    /usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.1.11/src/helper-scripts/rack-preloader.rb:156:in `&lt;module:App&gt;'
    /usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.1.11/src/helper-scripts/rack-preloader.rb:30:in `&lt;module:PhusionPassenger&gt;'
    /usr/local/lib/ruby/gems/2.3.0/gems/passenger-5.1.11/src/helper-scripts/rack-preloader.rb:29:in `&lt;main&gt;'
  
  
  [ E 2017-11-16 04:58:37.4841 3191/Tb age/Cor/Con/CheckoutSession.cpp:285 ]: [Client 3-1] Cannot checkout session because a spawning error occurred. The identifier of the error is cc913e9e. Please see earlier logs for details about the error.
  </code></pre>
  
  <p><strong>Versions Used:</strong> <br></p>
  
  <p>Ruby  2.3.3 <br>
  Rails 4.2.1 <br>
  Gem   2.6.14 </p>