Project

General

Profile

Problem with Apache 2.4 "Cannot load such file -- rails/all"

Added by Javier Hernandez about 9 years ago

Hello,

I'm implementing a new installation of Redmine on Ubuntu 14.04 and Redmine 2.6.2. The installation was good since I could open the platform in a web browser using the Webrick HTTP server. However, when I try to hold Redmine into Apache 2.4.7 I got this error:

Web application could not be started

cannot load such file -- rails/all (LoadError)
  /usr/local/www/redmine/config/application.rb:3:in `require'
  /usr/local/www/redmine/config/application.rb:3:in `<top (required)>'
  /usr/local/www/redmine/config/environment.rb:2:in `require'
  /usr/local/www/redmine/config/environment.rb:2:in `<top (required)>'
  config.ru:3:in `require'
  config.ru:3:in `block in <main>'
  /usr/local/lib/ruby/gems/1.9/gems/rack-1.4.5/lib/rack/builder.rb:51:in `instance_eval'
  /usr/local/lib/ruby/gems/1.9/gems/rack-1.4.5/lib/rack/builder.rb:51:in `initialize'
  config.ru:1:in `new'
  config.ru:1:in `<main>'
  /usr/local/lib/ruby/gems/1.9/gems/passenger-4.0.55/helper-scripts/rack-preloader.rb:112:in `eval'
  /usr/local/lib/ruby/gems/1.9/gems/passenger-4.0.55/helper-scripts/rack-preloader.rb:112:in `preload_app'
  /usr/local/lib/ruby/gems/1.9/gems/passenger-4.0.55/helper-scripts/rack-preloader.rb:158:in `<module:App>'
  /usr/local/lib/ruby/gems/1.9/gems/passenger-4.0.55/helper-scripts/rack-preloader.rb:29:in `<module:PhusionPassenger>'
  /usr/local/lib/ruby/gems/1.9/gems/passenger-4.0.55/helper-scripts/rack-preloader.rb:28:in `<main>'

Is there someone who could help me with this problem?

Thanks in advance.