title: Phusion Passenger cannot start Rails application
body: <p>Any help would be greatly appreciated. I'm trying to run basic Rails apps on my server.</p>
  
  <p>I'm running Ubuntu and nginx. Ideally I'd like to be able to still run php apps so nginx+Phusion seems like the way to go.</p>
  
  <blockquote>
    <p>A source file that the application requires, is missing.
    It is possible that you didn't upload your application files correctly. Please check whether all your application files are uploaded.
    A required library may not installed. Please install all libraries that this application requires.
    Further information about the error may have been written to the application's log file. Please check it in order to analyse the problem.</p>
    
    <p>Error message:
    no such file to load -- bundler</p>
    
    <p>Exception class:
    LoadError</p>
    
    <p>0  /usr/lib/ruby/1.8/rubygems/custom_require.rb    31  in <code>gem_original_require'
    1   /usr/lib/ruby/1.8/rubygems/custom_require.rb    31  in</code>require'
    2   /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/utils.rb  325 in <code>prepare_app_process'
    3   /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/rack/application_spawner.rb   156 in</code>initialize_server'
    4   /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/utils.rb  563 in <code>report_app_init_status'
    5   /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/rack/application_spawner.rb   154 in</code>initialize_server'
    6   /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server.rb    204 in <code>start_synchronously'
    7   /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server.rb    180 in</code>start'
    8   /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/rack/application_spawner.rb   129 in <code>start'
    9   /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/spawn_manager.rb  253 in</code>spawn_rack_application'
    10  /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server_collection.rb 132 in <code>lookup_or_add'
    11  /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/spawn_manager.rb  246 in</code>spawn_rack_application'
    12  /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server_collection.rb 82  in <code>synchronize'
    13  /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server_collection.rb 79  in</code>synchronize'
    14  /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/spawn_manager.rb  244 in <code>spawn_rack_application'
    15  /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/spawn_manager.rb  137 in</code>spawn_application'
    16  /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/spawn_manager.rb  275 in <code>handle_spawn_application'
    17  /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server.rb    357 in</code><strong>send</strong>'
    18  /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server.rb    357 in <code>server_main_loop'
    19  /var/lib/gems/1.8/gems/passenger-3.0.19/lib/phusion_passenger/abstract_server.rb    206 in</code>start_synchronously'
    20  /var/lib/gems/1.8/gems/passenger-3.0.19/helper-scripts/passenger-spawn-server   99  </p>
  </blockquote>