I am using fast cgi, and I had a problem that I traced to the will_paginate gem. I had require 'will_paginate' at the bottom of my environment.rb and it caused application error. I tried the thing about loading gems localy into the vendors directory, but have had no luck.
Should I try some other pagination approach or is there an easier way to fix this ?