LoginSignup
5
5

More than 5 years have passed since last update.

pry 0.10.0にてundefined method `pager`が起きたときの暫定対処

Last updated at Posted at 2014-07-24

事象

0.9.12.6 -> 0.10.0にあげたらエーって言うぐらい怒られた。

pry> User.all
undefined method `pager'

で、実際にissueもまだopen

pry/pry 0.10.0 - undefined method `pager' for nil:NilClass #1265

環境

ruby 2.0.0p353
rails 4.1.1
pry-byebug 1.3.3
pry-rails 0.3.2
pry-remote 0.1.8

原因

詳しく調べてないおち

対応策

とりあえず、pagerが原因なら殺しておく。

$ vi .pryrc

Pry.config.pager = false

これで動作しました。

5
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
5
5