Hi Aaron,

It looks like there's no problem with your code. Given the error, it
looks like the gem is not loaded. How to isolate the problem, I would
suggest you try to make it work locally to remove the possibility of a
bug in Heroku.

If you can't try it locally, let me suggest something (which may sound
a bit far-fetched, but I think worth a try). Could you require
'will_paginate' in a ruby file (e.g. lib.rb) under the config/
initializers folder instead of the environment.rb? I'm guessing that
Heroku does something to your environment.rb that perhaps causes it
not to include your code. Just maybe. Or perhaps try requiring it in
your model file itself.

Also, how did you install the gem in Heroku? You uploaded the
will_paginate gem in a .gem format? As you can read at the start of
the thread, the gem wasn't available (I'm not sure if it's available
now) in the Gems & Plugins search of Heroku so I had to install it
through the upload feature. I'm guessing maybe something went wrong in
the upload? How about re-uploading it?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Heroku" group.
To post to this group, send email to heroku@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/heroku?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to