ajaxful-rating icon indicating copy to clipboard operation
ajaxful-rating copied to clipboard

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

Open bilditup1 opened this issue 14 years ago • 2 comments

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.

bilditup1 avatar Oct 21 '10 22:10 bilditup1

Are you requiring the gem in your configuration block?

edgarjs avatar Feb 01 '11 23:02 edgarjs

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.

bilditup1 avatar Mar 07 '11 04:03 bilditup1