Use Kaminari master branch to have the fix https://github.com/amatsuda/kaminari/issues/214