Skip to content

Conversation

@tompng
Copy link
Member

@tompng tompng commented Nov 9, 2025

Bundler.require requires all gems including gems multiline_repl doesn't need.
This will fix ci failure in ruby-2.7 caused by warning message displayed while requiring power_assert.

Failure error message:

Error: RuntimeError: Startup message didn't arrive within timeout: 
"/opt/hostedtoolcache/Ruby/2.7.8/x64/lib/ruby/gems/2.7.0/gems/power_assert-3.0.1
/lib/power_assert/parser.rb:106: warning: Pattern matching is experimental, and 
the behavior may change in future versions of Ruby!\r\n/opt/hostedtoolcache/Ruby
/2.7.8/x64/lib/ruby/gems/2.7.0/gems/power_assert-3.0.1/lib/power_assert/parser.r
b:106: warning: Pattern matching is experimental, and the behavior may change in
 future versions of Ruby!\r\nMultiline REPL.\r\n\e[?2004h\e[1G\xE2\x96\xBD\e[6n\
e[1G\e[K\e[6n\e[?25l\e[1G\e[K\e[1G\e[0m\e[1mprompt>\e[m \e[0m\e[?25h\e[9G"

Bundler.require requires all gems including gems multiline_repl doesn't need.
This will fix ci failure in ruby-2.7 caused by warning message displayed while requiring power_assert.
Copy link
Member

@st0012 st0012 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@tompng tompng merged commit 07255ab into ruby:master Nov 9, 2025
43 checks passed
@tompng tompng deleted the multiline_repl_less_require branch November 9, 2025 14:38
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.

2 participants