Skip to content

Instantly share code, notes, and snippets.

@kimpepper
Created August 17, 2015 01:53
Show Gist options
  • Select an option

  • Save kimpepper/69790b26b8d2fc068a3f to your computer and use it in GitHub Desktop.

Select an option

Save kimpepper/69790b26b8d2fc068a3f to your computer and use it in GitHub Desktop.
apache error
[Mon Aug 17 11:49:20.999097 2015] [core:notice] [pid 10861:tid 140709681420160] AH00094: Command line: '/usr/sbin/apache2'
App 10958 stdout:
App 10958 stderr: Please configure your config/database.yml first
App 10958 stdout:
[ 2015-08-17 11:50:19.4379 10868/7efd15847700 App/Implementation.cpp:303 ]: Could not spawn process for application /data/app: An error occured while starting up the preloader.
Error ID: 4e4c48d9
Error details saved to: /tmp/passenger-error-afBjb7.html
Message from application: <p>It looks like Bundler could not find a gem. Maybe you didn't install all the gems that this application needs. To install your gems, please run:</p>
<pre class="commands">bundle install</pre>
<p>If that didn't work, then the problem is probably caused by your application being run under a different environment than it's supposed to. Please check the following:</p>
<ol>
<li>Is this app supposed to be run as the <code>nobody</code> user?</li>
<li>Is this app being run on the correct Ruby interpreter? Below you will
see which Ruby interpreter Phusion Passenger attempted to use.</li>
</ol>
<p>-------- The exception is as follows: -------</p>
Could not find gem &#39;rails (= 4.2.3) ruby&#39; in any of the gem sources listed in your Gemfile or available on this machine. (Bundler::GemNotFound)
<pre> /var/lib/gems/2.0.0/gems/bundler-1.10.6/lib/bundler/resolver.rb:347:in `block in verify_gemfile_dependencies_are_found!&#39;
/var/lib/gems/2.0.0/gems/bundler-1.10.6/lib/bundler/resolver.rb:325:in `each&#39;
/var/lib/gems/2.0.0/gems/bundler-1.10.6/lib/bundler/resolver.rb:325:in `verify_gemfile_dependencies_are_found!&#39;
/var/lib/gems/2.0.0/gems/bundler-1.10.6/lib/bundler/resolver.rb:198:in `start&#39;
/var/lib/gems/2.0.0/gems/bundler-1.10.6/lib/bundler/resolver.rb:182:in `resolve&#39;
/var/lib/gems/2.0.0/gems/bundler-1.10.6/lib/bundler/definition.rb:200:in `resolve&#39;
/var/lib/gems/2.0.0/gems/bundler-1.10.6/lib/bundler/definition.rb:140:in `specs&#39;
/var/lib/gems/2.0.0/gems/bundler-1.10.6/lib/bundler/definition.rb:185:in `specs_for&#39;
/var/lib/gems/2.0.0/gems/bundler-1.10.6/lib/bundler/definition.rb:174:in `requested_specs&#39;
/var/lib/gems/2.0.0/gems/bundler-1.10.6/lib/bundler/environment.rb:18:in `requested_specs&#39;
/var/lib/gems/2.0.0/gems/bundler-1.10.6/lib/bundler/runtime.rb:13:in `setup&#39;
/var/lib/gems/2.0.0/gems/bundler-1.10.6/lib/bundler.rb:127:in `setup&#39;
/var/lib/gems/2.0.0/gems/bundler-1.10.6/lib/bundler/setup.rb:18:in `&lt;top (required)&gt;&#39;
/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require&#39;
/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:53:in `require&#39;
/var/lib/gems/2.0.0/gems/passenger-5.0.15/lib/phusion_passenger/loader_shared_helpers.rb:406:in `activate_gem&#39;
/var/lib/gems/2.0.0/gems/passenger-5.0.15/lib/phusion_passenger/loader_shared_helpers.rb:288:in `block in run_load_path_setup_code&#39;
/var/lib/gems/2.0.0/gems/passenger-5.0.15/lib/phusion_passenger/loader_shared_helpers.rb:411:in `running_bundler&#39;
/var/lib/gems/2.0.0/gems/passenger-5.0.15/lib/phusion_passenger/loader_shared_helpers.rb:287:in `run_load_path_setup_code&#39;
/var/lib/gems/2.0.0/gems/passenger-5.0.15/helper-scripts/rack-preloader.rb:99:in `preload_app&#39;
/var/lib/gems/2.0.0/gems/passenger-5.0.15/helper-scripts/rack-preloader.rb:153:in `&lt;module:App&gt;&#39;
/var/lib/gems/2.0.0/gems/passenger-5.0.15/helper-scripts/rack-preloader.rb:29:in `&lt;module:PhusionPassenger&gt;&#39;
/var/lib/gems/2.0.0/gems/passenger-5.0.15/helper-scripts/rack-preloader.rb:28:in `&lt;main&gt;&#39;</pre>
[ 2015-08-17 11:50:19.4446 10868/7efd0f20e700 age/Cor/Req/CheckoutSession.cpp:252 ]: [Client 1-1] Cannot checkout session because a spawning error occurred. The identifier of the error is 4e4c48d9. Please see earlier logs for details about the error.
~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment