Defect #3892
closedUpgrade to Rails 2.3.4 broke mongrel
0%
Description
The upgrade to Rails 2.3.4 broke mongrel, resulting in the error:
/usr/lib64/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/dependencies.rb:440:in `load_missing_constant': uninitialized constant ActionController::AbstractRequest (NameError)
An easy fix is to patch config/initializers/10-patches.rb to add support for this. A quick patch is attached to get people up and running. Please redo as appropriate for other versions, if any changes are needed. This snippet provided by https://rails.lighthouseapp.com/projects/8994/tickets/2319-rails-23-mongrel-deploy-with-prefix-causes-abstractrequest-error and adapted for Redmine.
Files
Updated by Jean-Philippe Lang about 15 years ago
- Status changed from New to Closed
- Resolution set to Wont fix
This is a Mongrel issue.
Updated by Cailin Nelson about 15 years ago
- Status changed from Closed to Reopened
Would it be possible to provide more specific instructions as to how to work around this? Applying the specified path above did not help me. Is there something I have to run after modifying my 10-patches.rb file?
Updated by Jean-Philippe Lang about 15 years ago
- Status changed from Reopened to Closed
- Resolution changed from Wont fix to Invalid
Sorry I do not provide support for Mongrel.
FWIW, I use Mongrel 1.1.5 for dev and it's running fine.
Updated by Cailin Nelson about 15 years ago
I figured out what my problem was - it had nothing to do with mongrel. I hit this error while upgrading from Redmine 0.8 to the current trunk. In case this happens to anybody else, I'll explain what I did wrong...
When I upgraded to Redmine trunk I applied the new version on top of my current distribution. This left some unneeded old garbage in the vendors/plugins directory. Specifically, the action_webservice module causes the error mentioned in this thread. If this happens to you, make sure you have replaced your current distribution with the new code instead of copying the new code on top of your old code.
Updated by Richard Bössen almost 15 years ago
I'have got this error too. But I replaced the whole redmine folder with the new one (only backing up database.yml).
But the error still occours. I use 0.9-stable branch.
Updated by Richard Bössen almost 15 years ago
- File mongrel_cluster_with_rails_23_fix.rb mongrel_cluster_with_rails_23_fix.rb added
- Status changed from Closed to Reopened
The attached file in config/initializers folder fixes the problem...
Updated by Richard Bössen almost 15 years ago
Sorry!
The patch is the same!
Please close this ticket!
Updated by Jean-Philippe Lang almost 15 years ago
What's your mongrel version?
I don't have this problem with 1.1.5.
Updated by Jean-Philippe Lang almost 15 years ago
- Status changed from Reopened to Closed
Updated by Richard Bössen almost 15 years ago
I'm using 1.1.5 to, from the bitnami stack and I still get the error.