title: Passenger load error - cannot load such file -- phusion_passenger (LoadError)
body: <p>we have two applications on a virtual server running with Apache (2.4.6) + Passenger + Rails 4.0.0. </p>
  
  <p>we had an issue with our server, caused by a ruby process consuming the 100% of CPU. After restarting the server, the ruby process is no longer running but also passenger is not starting.</p>
  
  <p>Running passenger-status we get the error: </p>
  
  <pre><code>/home/adm/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- phusion_passenger (LoadError)
  from /home/adm/.rvm/rubies/ruby-2.1.0/lib/ruby/site_ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require'
  from /usr/sbin/passenger-status:27:in `&lt;main&gt;'
  </code></pre>
  
  <p>I'm not so expert with passenger so i have no idea on what is going on. </p>
  
  <p>Any suggestion? Even to understand what the real problem is. </p>
  
  <p>Thank you in advance</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>running <code>bundle show passenger</code>  </p>
  
  <p>output <code>Could not find gem passenger</code></p>
  
  <p>PAssenger is loaded by apache in the virtual hosts of the applications: </p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
          ServerName www.site1.it 
      ServerAlias site1.it       
      DocumentRoot /var/www/proj/current/public
  
  
      LoadModule passenger_module /home/adm/.rvm/gems/ruby-2.1.0@dentist/gems/passenger-4.0.37/buildout/apache2/mod_passenger.so
      &lt;IfModule mod_passenger.c&gt;
          PassengerRoot /home/adm/.rvm/gems/ruby-2.1.0@dentist/gems/passenger-4.0.37
          PassengerDefaultRuby /home/adm/.rvm/gems/ruby-2.1.0@dentist/wrappers/ruby
      &lt;/IfModule&gt;
  
          RailsEnv production
          PassengerLogLevel 3
          PassengerMinInstances 1
          &lt;Directory /var/www/proj/current/public&gt;
  
                  # This relaxes Apache security settings.
                  AllowOverride all
                  # MultiViews must be turned off.
                  Options -MultiViews
          &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  
  &lt;VirtualHost *:80&gt;
          ServerName www.site2.it 
      ServerAlias site2.it       
      DocumentRoot /var/www/proj/current/public
  
      RequestHeader Set X-Sendfile-Type X-Sendfile
      XSendFile On
  
      LoadModule passenger_module /home/adm/.rvm/gems/ruby-2.1.0@police/gems/passenger-4.0.37/buildout/apache2/mod_passenger.so
      &lt;IfModule mod_passenger.c&gt;
            PassengerRoot /home/adm/.rvm/gems/ruby-2.1.0@police/gems/passenger-4.0.37
            PassengerDefaultRuby /home/adm/.rvm/gems/ruby-2.1.0@police/wrappers/ruby
          &lt;/IfModule&gt;
  
          RailsEnv production
          PassengerLogLevel 3
          PassengerMinInstances 1
          &lt;Directory /var/www/proj/current/public&gt;
  
                  # This relaxes Apache security settings.
                  AllowOverride all
                  # MultiViews must be turned off.
                  Options -MultiViews
          &lt;/Directory&gt;
  &lt;/VirtualHost&gt;
  </code></pre>