Open link in a new tab

Content

Expand project menu

Gem rake can not be found - OpenProject Centos 7 Installation

Hello Community and Sir developers

I’ve been a few months when you install Open Project on a dedicated server with Centos 7 and am almost finished. Unfortunately, there is under http://www.openproject.liebrecht-projekte.de a Passenger mistake and I can not I solve it.

The error message in the error log looks like this:

[ 2016-06-17 15:03:49.5793 25899/7f6848080700 age/Cor/App/Implementation.cpp:304 ]: Could not spawn process for application /home/openproject/openproject: An error occurred while starting up the preloader.
  Error ID: e94c65b8
  Error details saved to: /tmp/passenger-error-EUaHIx.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

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 openproject user?

  2. Is this app being run on the correct Ruby interpreter? Below you will
    see which Ruby interpreter Phusion Passenger attempted to use.

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

Could not find rake-11.2.2 in any of the sources (Bundler::GemNotFound)

  /usr/local/rvm/gems/ruby-2.2.4/gems/bundler-1.12.5/lib/bundler/spec_set.rb:95:in `block in materialize&#39;
  /usr/local/rvm/gems/ruby-2.2.4/gems/bundler-1.12.5/lib/bundler/spec_set.rb:88:in `map!&#39;
  /usr/local/rvm/gems/ruby-2.2.4/gems/bundler-1.12.5/lib/bundler/spec_set.rb:88:in `materialize&#39;
  /usr/local/rvm/gems/ruby-2.2.4/gems/bundler-1.12.5/lib/bundler/definition.rb:140:in `specs&#39;
  /usr/local/rvm/gems/ruby-2.2.4/gems/bundler-1.12.5/lib/bundler/definition.rb:185:in `specs_for&#39;
  /usr/local/rvm/gems/ruby-2.2.4/gems/bundler-1.12.5/lib/bundler/definition.rb:174:in `requested_specs&#39;
  /usr/local/rvm/gems/ruby-2.2.4/gems/bundler-1.12.5/lib/bundler/environment.rb:19:in `requested_specs&#39;
  /usr/local/rvm/gems/ruby-2.2.4/gems/bundler-1.12.5/lib/bundler/runtime.rb:14:in `setup&#39;
  /usr/local/rvm/gems/ruby-2.2.4/gems/bundler-1.12.5/lib/bundler.rb:95:in `setup&#39;
  /usr/local/rvm/gems/ruby-2.2.4/gems/bundler-1.12.5/lib/bundler/setup.rb:19:in `&lt;top (required)&gt;&#39;
  /usr/local/share/ruby/site_ruby/rubygems/core_ext/kernel_require.rb:55:in `require&#39;
  /usr/local/share/ruby/site_ruby/rubygems/core_ext/kernel_require.rb:55:in `require&#39;
  /usr/local/rvm/gems/ruby-2.2.4/gems/passenger-5.0.28/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:430:in `activate_gem&#39;
  /usr/local/rvm/gems/ruby-2.2.4/gems/passenger-5.0.28/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:297:in `block in run_load_path_setup_code&#39;
  /usr/local/rvm/gems/ruby-2.2.4/gems/passenger-5.0.28/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:435:in `running_bundler&#39;
  /usr/local/rvm/gems/ruby-2.2.4/gems/passenger-5.0.28/src/ruby_supportlib/phusion_passenger/loader_shared_helpers.rb:296:in `run_load_path_setup_code&#39;
  /usr/local/rvm/gems/ruby-2.2.4/gems/passenger-5.0.28/src/helper-scripts/rack-preloader.rb:100:in `preload_app&#39;
  /usr/local/rvm/gems/ruby-2.2.4/gems/passenger-5.0.28/src/helper-scripts/rack-preloader.rb:156:in `&lt;module:App&gt;&#39;
  /usr/local/rvm/gems/ruby-2.2.4/gems/passenger-5.0.28/src/helper-scripts/rack-preloader.rb:30:in `&lt;module:PhusionPassenger&gt;&#39;
  /usr/local/rvm/gems/ruby-2.2.4/gems/passenger-5.0.28/src/helper-scripts/rack-preloader.rb:29:in `&lt;main&gt;&#39;

[ 2016-06-17 15:03:49.5944 25899/7f682bfff700 age/Cor/Con/CheckoutSession.cpp:285 ]: [Client 3-1] Cannot checkout session because a spawning error occurred. The identifier of the error is e94c65b8. Please see earlier logs for details about the error.

Apparently “gem rake” is not found.

I have also been installed in such a way: “gem install rake —version 11.2.2”

But that is not successful and already “bundle rake update” and “bundle update” I have already explained. Nothing leads to success.

What else can I do to find the error ??

Thanks in advance.

Regards, Alexander