File tree 2 files changed +8
-2
lines changed
2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -775,5 +775,8 @@ def set_automation_name_if_nil
775
775
776
776
# Paging in Pry is annoying :q required to exit.
777
777
# With pager disabled, the output is similar to IRB
778
- # Only set if Pry is defined.
779
- Pry . config . pager = false if defined? ( Pry )
778
+ # Only set if Pry is defined and there is no `.pryrc` files.
779
+ if defined? ( Pry ) && !( File . exist? ( Pry ::HOME_RC_FILE ) || File . exist? ( Pry ::LOCAL_RC_FILE ) )
780
+ Appium ::Logger . debug 'Pry.config.pager = false is set.'
781
+ Pry . config . pager = false
782
+ end
Original file line number Diff line number Diff line change @@ -69,3 +69,6 @@ gem install --no-rdoc --no-ri appium_lib
69
69
``` ruby
70
70
Appium ::Logger .level = Logger ::INFO
71
71
```
72
+
73
+ #### Load Pry
74
+ ` Pry.config.pager = false ` is set if you have no ` .pryrc ` files and ` Pry ` is defined.
You can’t perform that action at this time.
0 commit comments