Project

General

Profile

Actions

Defect #3892

closed

Upgrade to Rails 2.3.4 broke mongrel

Defect #3892: Upgrade to Rails 2.3.4 broke mongrel

Added by Robert Chady about 17 years ago. Updated almost 17 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Resolution:
Invalid
Affected version:

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 17 years ago Actions #1

  • Status changed from New to Closed
  • Resolution set to Wont fix

This is a Mongrel issue.

Updated by Cailin Nelson about 17 years ago Actions #2

  • 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 17 years ago Actions #3

  • 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 17 years ago Actions #4

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 17 years ago Actions #5

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 17 years ago Actions #6

The attached file in config/initializers folder fixes the problem...

Updated by Richard Bössen almost 17 years ago Actions #7

Sorry!

The patch is the same!

Please close this ticket!

Updated by Jean-Philippe Lang almost 17 years ago Actions #8

What's your mongrel version?
I don't have this problem with 1.1.5.

Updated by Jean-Philippe Lang almost 17 years ago Actions #9

  • Status changed from Reopened to Closed

Updated by Richard Bössen almost 17 years ago Actions #10

I'm using 1.1.5 to, from the bitnami stack and I still get the error.

Actions

Also available in: PDF Atom