Skip to content
This repository has been archived by the owner on Feb 5, 2021. It is now read-only.

undefined local variable or method 'ajaxful_rater' under mod_rails, rails 2.3.8, ruby 1.8.7 #46

Open
bilditup1 opened this issue Oct 21, 2010 · 2 comments

Comments

@bilditup1
Copy link

The title essentially says it all. mod_rails won't boot my app because of this. I thought it was because I wasn't vendorizing my gems, but having verifying that I've now done that correctly, I still get the error:

undefined local variable or method 'ajaxful_rater' under mod_rails, rails 2.3.8, ruby 1.8.7, debian

and am now quite simply at a loss. Shutting off ajaxful-rating and taking out all references to it result in the app starting up. At the same time, this is not an issue under ruby 1.9.2/webrick, so I'm not sure what the weak pt is here.

@edgarjs
Copy link
Owner

edgarjs commented Feb 1, 2011

Are you requiring the gem in your configuration block?

@bilditup1
Copy link
Author

Yep. If it was working with one server and not the other, then yeah, the presumption should be that I am requiring the gem :)
In any case we ended up using a mongrel cluster (still rails 2.3.8) under which this is not an issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants