Patches: Browse | Submit New | Admin

[#5521] Fix for "LoadError" in Rails Edge r4814

Date:
2006-08-25 08:11
Priority:
3
Submitted By:
Choon Keat Chew (choonkeat)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Fix for "LoadError" in Rails Edge r4814

Detailed description
I'm running rails edge, and it appears that if I hit a gruff rendered page, and refresh the error  "LoadError (Expected
script/../config/../vendor/plugins/gruff/lib/gruff.rb to define Gruff)" will occur.

So the solution is to merely define an empty Gruff module before all other require statements

Add A Comment: Notepad

Please login


Followup

Message
Date: 2007-09-25 22:54
Sender: Roger Pack

maybe also 'require 'gruff'' in environment.rb?

Attached Files:

Name Description Download
rails_edge.patch declare empty Gruff module in lib/gruff.rb Download

Changes:

Field Old Value Date By
summaryFix for "LoadError" in Rails Edge r48142006-08-25 08:11choonkeat
File Added768: rails_edge.patch2006-08-25 08:11choonkeat