Actions
Defect #28659
closedRedmine 3.4-stable + Passenger failed to start: cannot load such file -- bundler/setup (LoadError)
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
When I try to access Redmine through passenger I end up with a web page that says :
Application error Rails application failed to start properly
The Apache error log records these error messages:
/usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- bundler/setup (LoadError) from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require' from /home/redmine/redmine/config/boot.rb:4:in `<top (required)>' from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require' from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require' from /home/redmine/redmine/public/dispatch.fcgi:3:in `<main>'
The relevant line seems to be /home/redmine/redmine/config/boot.rb:4:in `<top (required)>'.
# Set up gems listed in the Gemfile. ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])I'm running:
- Redmine 3.4-stable (as returned by git status)
- Fedora 27
- Passenger-5.2.1
- Using postgresql 9.6.8
Redmine starts up when I use rails' web server bundle exec rails server webrick -e production
.
Any help is welcomed
Updated by Go MAEDA over 6 years ago
- Status changed from New to Closed
- Resolution set to Invalid
Probably this is not a defect of Redmine core but a problem of installation. Please use forums for question after reading How to request help.
Actions