← Back to Issue

Show bin/console startup banner based on IRB

From uloza+hey@proton.me · original ↗ · unsubscribe

Show a Rails-flavored startup banner (a small logo, Rails/Ruby version, a rotating tip about console helpers like reload!, and Rails.root) when starting bin/rails console. Set RAILS_TIPS=false to hide the rotating tip.


Show bin/console startup banner based on IRB by byroot · Pull Request #58455 · rails/rails · GitHub

Skip to content

Sign in

Appearance settings

Search/

Sign in

Sign up

Appearance settings

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert

Uh oh!

There was an error while loading. Please reload this page.

rails / rails Public

Additional navigation options

Show bin/console startup banner based on IRB - #58455

#58455

Merged

byroot merged 1 commit into

rails:mainrails/rails:mainfrom

byroot:Gimbardo-consolebyroot/rails:Gimbardo-consoleCopy head branch name to clipboard

Aug 12, 2026

ConversationCommits1 (1)ChecksFiles changed

Merged

##

Show bin/console startup banner based on IRB#58455

byroot merged 1 commit into

rails:mainrails/rails:mainfrom

byroot:Gimbardo-consolebyroot/rails:Gimbardo-consoleCopy head branch name to clipboard

Conversation

@byroot

###

@byrootbyroot commented Aug 12, 2026

Copy link

Copy Markdown

Member

Reopening of #58393

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

❤️ 3 st0012, chaadow, and Saidbek reacted with heart emoji

All reactions

@byroot byroot mentioned this pull request Aug 12, 2026

Show a startup banner in bin/rails console #58393

Closed

4 tasks

@byroot

byroot force-pushed the Gimbardo-console branch from 38fb24f to bdcf8da Compare August 12, 2026 08:36

Gimbardo

Gimbardo reviewed Aug 12, 2026

View reviewed changes

Comment thread railties/test/commands/console_test.rb Outdated

assert_match(/TIP: /, out)

IRB.conf[:SHOW_BANNER] = false

out = capture(:stdout) { irb_console.show_startup_banner }

###

@GimbardoGimbardo Aug 12, 2026

Copy link

Copy Markdown

Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality Hide comment

this should capture stderr

out = capture(:stderr) { irb_console.show_startup_banner }

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@Gimbardo@byroot

[show bin/console startup banner based on IRB](/rails/rails/pull/58455/commits/8ca4e0bc229d37526ebf3eef49a5fc844ffa4f18 "show bin/console startup banner based on IRB")

[8ca4e0b](/rails/rails/pull/58455/commits/8ca4e0bc229d37526ebf3eef49a5fc844ffa4f18)

@byroot

byroot force-pushed the Gimbardo-console branch from bdcf8da to 8ca4e0b Compare August 12, 2026 09:12

Hide details View details

@byroot

byroot merged commit a7a907e into rails:main Aug 12, 2026

5 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@carldaws carldaws mentioned this pull request Aug 12, 2026

Show next steps after rails new #58458

Open

4 tasks

@Saidbek Saidbek mentioned this pull request Aug 13, 2026

Add –no-banner to bin/rails console #58470

Open

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

### Reviewers

1 more reviewer

@GimbardoGimbardo Gimbardo left review comments

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

railties

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@byroot@Gimbardo

Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

© 2026 GitHub, Inc.

You can’t perform that action at this time.

Highlights & notes

    Notes