Passenger + nginx + rails deployment on aws server error

210 views Asked by At

nginx error log showing the following output:

[ 2015-06-17 17:52:45.0708 30940/7fdbe8878700 App/Implementation.cpp:303 ]: Could not spawn process for application /www/apps/oddhapok-staging/current: An error occured while starting up the preloader. Error ID: 402cee85 Error details saved to: /tmp/passenger-error-tjaWZi.html Message from application:

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:

bundle install

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:

  1. Is this app supposed to be run as the deployer user?
  2. Is this app being run on the correct Ruby interpreter? Below you will see which Ruby interpreter Phusion Passenger attempted to use.
  3. Please check whether the correct RVM gemset is being used.
  4. Sometimes, RVM gemsets may be broken. Try resetting them.

-------- The exception is as follows: -------

Could not find i18n-0.6.1 in any of the sources (Bundler::GemNotFound)

The last is gem not found error. I've added the gem 'capistrano-bundler' in my gemfile and require the capistrano/bundler in capfile. But still the error exists.

anyone have any idea?

0

There are 0 answers