update Gemfile for pagination