Project

General

Profile

Actions

Defect #3892

closed

Upgrade to Rails 2.3.4 broke mongrel

Added by Robert Chady over 14 years ago. Updated about 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-09-18
Due date:
% Done:

0%

Estimated time:
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

Actions #1

Updated by Jean-Philippe Lang over 14 years ago

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

This is a Mongrel issue.

Actions #2

Updated by Cailin Nelson over 14 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?

Actions #3

Updated by Jean-Philippe Lang over 14 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.

Actions #4

Updated by Cailin Nelson over 14 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.

Actions #5

Updated by Richard Bössen about 14 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.

Actions #6

Updated by Richard Bössen about 14 years ago

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

Actions #7

Updated by Richard Bössen about 14 years ago

Sorry!

The patch is the same!

Please close this ticket!

Actions #8

Updated by Jean-Philippe Lang about 14 years ago

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

Actions #9

Updated by Jean-Philippe Lang about 14 years ago

  • Status changed from Reopened to Closed
Actions #10

Updated by Richard Bössen about 14 years ago

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

Actions

Also available in: Atom PDF