Actions
Defect #14812
closedApache + Passenger couldn't run redmine
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Resolution:
Invalid
Affected version:
Description
WEBrick, Puma, and Passenger standalone can run the app but using Apache + mod_passenger results in a 'Web application could not be started' Error.
Here is the output of my browser when trying to access redmine
cannot load such file -- /opt/redmine-2.3/config/environment (LoadError) config.ru:3:in `require' config.ru:3:in `block in <main>' /usr/local/rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval' /usr/local/rvm/gems/ruby-1.9.3-p194/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize' config.ru:1:in `new' config.ru:1:in `<main>' /usr/local/rvm/gems/ruby-1.9.3-p194/gems/passenger-4.0.14/helper-scripts/rack-preloader.rb:82:in `eval' /usr/local/rvm/gems/ruby-1.9.3-p194/gems/passenger-4.0.14/helper-scripts/rack-preloader.rb:82:in `preload_app' /usr/local/rvm/gems/ruby-1.9.3-p194/gems/passenger-4.0.14/helper-scripts/rack-preloader.rb:127:in `<module:App>' /usr/local/rvm/gems/ruby-1.9.3-p194/gems/passenger-4.0.14/helper-scripts/rack-preloader.rb:6:in `<module:PhusionPassenger>' /usr/local/rvm/gems/ruby-1.9.3-p194/gems/passenger-4.0.14/helper-scripts/rack-preloader.rb:5:in `<main>'
The runtime environment using Apache 2.2.22 and Passenger 4.0.14:
Environment: Redmine version 2.3.2.stable.12119 Ruby version 1.9.3-p194 (2012-04-20) [x86_64-linux] Rails version 3.2.13 Environment development Database adapter Mysql2 Redmine plugins: no plugin installed
Here are the activated ruby gems:
bundler => 1.3.5 rake => 10.1.0 i18n => 0.6.1 multi_json => 1.7.9 activesupport => 3.2.13 builder => 3.0.0 activemodel => 3.2.13 erubis => 2.7.0 journey => 1.0.4 rack => 1.4.5 rack-cache => 1.2 rack-test => 0.6.2 hike => 1.2.3 tilt => 1.4.1 sprockets => 2.2.2 actionpack => 3.2.13 mime-types => 1.24 polyglot => 0.3.3 treetop => 1.4.14 mail => 2.5.4 actionmailer => 3.2.13 arel => 3.0.2 tzinfo => 0.3.37 activerecord => 3.2.13 activeresource => 3.2.13 nokogiri => 1.5.10 ffi => 1.9.0 childprocess => 0.3.9 rubyzip => 0.9.9 websocket => 1.0.7 selenium-webdriver => 2.35.0 xpath => 1.0.0 capybara => 2.0.3 coderay => 1.0.9 rack-ssl => 1.3.3 json => 1.8.0 rdoc => 3.12.2 thor => 0.18.1 railties => 3.2.13 jquery-rails => 2.0.3 metaclass => 0.0.1 mocha => 0.13.3 net-ldap => 0.3.1 ruby-openid => 2.2.3 rack-openid => 1.3.1 rails => 3.2.13 rmagick => 2.13.2 shoulda-context => 1.0.2 shoulda-matchers => 1.4.1 shoulda => 3.3.2 yard => 0.8.7
Actions