Skip to content

Conversation

@tompng
Copy link
Member

@tompng tompng commented Jun 10, 2024

Make CI green

Reline (ansi, terminfo) tries to load fiddle and terminfo. Reline behaves better with fiddle but does not necessarily requires fiddle.
Fiddle is planned to be a bundled gem in Ruby 3.5. In Ruby 3.4, require 'fiddle' through bundle exec will warn

terminfo.rb:2: warning: fiddle was loaded from the standard library, but will no longer be part of the default gems since Ruby 3.5.0. Add fiddle to your Gemfile or gemspec.

This pull request suppress that warning causing test failure.

lib/reline/io/windows.rb fully depends on fiddle, and we may need to think addding fiddle to gemspec dependency before 3.5, but it is out of scope of this pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants