diff --git a/lib/better_errors/repl/pry.rb b/lib/better_errors/repl/pry.rb index 4390ec7e..8c69295c 100644 --- a/lib/better_errors/repl/pry.rb +++ b/lib/better_errors/repl/pry.rb @@ -38,7 +38,9 @@ def print(*args) def initialize(binding, exception) @fiber = Fiber.new do - @pry.repl binding + local ::Pry.config, color: false, pager: false do + @pry.repl binding + end end @input = BetterErrors::REPL::Pry::Input.new @output = BetterErrors::REPL::Pry::Output.new