Skip to content

Commit

Permalink
Depend on readline-ext to get proper behavior of pry prompt
Browse files Browse the repository at this point in the history
In ruby 3.3, readline falls back to reline by default. This creates odd
output when the terminal is not a real TTY. See
ruby/reline#616.
  • Loading branch information
mvz committed Dec 17, 2023
1 parent d68bf24 commit 306b18d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions aruba.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "pry", [">= 0.13.0", "< 0.15.0"]
spec.add_development_dependency "rake", [">= 12.0", "< 14.0"]
spec.add_development_dependency "rake-manifest", "~> 0.2.0"

# Work-around for https://github.com/ruby/reline/issues/616 in Ruby 3.3
spec.add_development_dependency "readline-ext", "~> 0.2.0"

spec.add_development_dependency "rspec", "~> 3.11"
spec.add_development_dependency "rubocop", ["~> 1.28", "!= 1.29.0"]
spec.add_development_dependency "rubocop-packaging", "~> 0.5.0"
Expand Down

0 comments on commit 306b18d

Please sign in to comment.