Skip to content

Add startup banner with Ruby logo, version info, and tips#1183

Open
st0012 wants to merge 1 commit intomasterfrom
startup-visual
Open

Add startup banner with Ruby logo, version info, and tips#1183
st0012 wants to merge 1 commit intomasterfrom
startup-visual

Conversation

@st0012
Copy link
Member

@st0012 st0012 commented Mar 13, 2026

Summary

  • Display a 3-line startup banner when IRB starts from the irb executable, showing a small braille Ruby logo, version/Ruby info, a rotating tip, and the working directory
    • binding.irb or IRB.start sessions will not see this banner.
  • Users can disable via IRB.conf[:SHOW_BANNER] = false in .irbrc
Screenshot 2026-03-13 at 16 43 18

@st0012 st0012 added the enhancement New feature or request label Mar 13, 2026
@st0012 st0012 force-pushed the startup-visual branch 2 times, most recently from fe2c3c8 to 2282e74 Compare March 15, 2026 13:10
Display a 3-line startup banner when IRB is launched via the CLI
executable. The banner shows a small braille Ruby logo alongside
the IRB/Ruby version, a randomly selected usage tip, and the
current working directory.

The banner is gated on ap_path matching "irb" so it only appears
for CLI usage, not binding.irb or embedded IRB. Users can disable
it with IRB.conf[:SHOW_BANNER] = false in their .irbrc.
@st0012 st0012 marked this pull request as ready for review March 15, 2026 13:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant