Project

General

Profile

Actions

Defect #1714

closed

Phusion Passenger and RailsSpawnMethod

Added by Pieter Claerhout almost 16 years ago. Updated over 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Wiki
Target version:
-
Start date:
2008-07-30
Due date:
% Done:

0%

Estimated time:
Resolution:
Duplicate
Affected version:

Description

I've installed RedMine on my Macintosh OS X machine using Apache 2 and Phusion Passenger.

However, when I access the homepage, I get the following error:

Error message:
    superclass must be a Class (Module given)
Exception class:
    TypeError
Application root:
    /redmine

When I change the RailsSpawnMethod setting of Passenger to "conservative", it works just fine (but slower).

I'm using:
  • Mac OS X 10.5.4
  • Apache 2.2.8
  • Ruby 1.8.6 (2008-03-03 patchlevel 114) [universal-darwin9.0]
  • Rails 2.1.0
  • Redmine from svn (r1709)

The Apache config that does not work:

# Load mod_passenger
LoadModule passenger_module /Library/Ruby/Gems/1.8/gems/passenger-2.0.2/ext/apache2/mod_passenger.so
PassengerRoot /Library/Ruby/Gems/1.8/gems/passenger-2.0.2
PassengerRuby /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

# Load redmine
RailsBaseURI /redmine

The Apache config that does work:

# Load mod_passenger
LoadModule passenger_module /Library/Ruby/Gems/1.8/gems/passenger-2.0.2/ext/apache2/mod_passenger.so
PassengerRoot /Library/Ruby/Gems/1.8/gems/passenger-2.0.2
PassengerRuby /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby

# Configure mod_passenger
RailsSpawnMethod conservative

# Load redmine
RailsBaseURI /redmine

I've attached a screenshot with more information about the error.


Files

RedminePhusionPassenger.png (215 KB) RedminePhusionPassenger.png Pieter Claerhout, 2008-07-30 14:11

Related issues

Related to Redmine - Defect #1754: Redmine not compatible with RedCloth >= 3.301ClosedJean-Philippe Lang2008-08-05

Actions
Actions

Also available in: Atom PDF