Error with RedMine 4+Apache+Passenger

Added by Nicolas Cuesta 4 months ago

I'm trying to configure redmine for a suburl http://myServer/redmine.
In Redmine 3.4, I got it working by adding the next line to "config/environment.rb"
'RedmineApp::Application.routes.default_scope = "/redmine"'
but in Redmine 4.0 this produces an exception. "The direct method can't be used inside a routes scope block"
I installed RedMine 4 with Apache+Passenger in a single server. Any help?