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
Navigation Menu
Appearance settings
-
Platform
-
AI CODE CREATION
-
DEVELOPER WORKFLOWS
-
APPLICATION SECURITY
-
EXPLORE
-
-
Solutions
-
BY COMPANY SIZE
-
BY USE CASE
-
BY INDUSTRY
-
-
Resources
-
EXPLORE BY TOPIC
-
EXPLORE BY TYPE
-
SUPPORT & SERVICES
-
-
Open Source
-
COMMUNITY
-
PROGRAMS
-
REPOSITORIES
-
-
Enterprise
Search/
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.
- Notifications You must be signed in to change notification settings
- Fork 22.4k
- Code
- Issues 485
- Pull requests 1.1k
- Discussions
- Actions
- Security and quality 26
- Insights
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 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
- ❤️ 3 reactions
github-actions Bot added the railties label Aug 12, 2026
byroot mentioned this pull request Aug 12, 2026
Show a startup banner in bin/rails console #58393
Closed
4 tasks
byroot force-pushed the Gimbardo-console branch from 38fb24f to bdcf8da Compare August 12, 2026 08:36
Gimbardo reviewed Aug 12, 2026
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 }
###
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
[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 force-pushed the Gimbardo-console branch from bdcf8da to 8ca4e0b Compare August 12, 2026 09:12
Hide details View details
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 mentioned this pull request Aug 12, 2026
Show next steps after rails new #58458
Open
4 tasks
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
Gimbardo Gimbardo left review comments
Reviewers whose approvals may not affect merge requirements
Assignees
No one assigned
Labels
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
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.
Footer
Footer navigation
- Terms
- Privacy
- Security
- Status
- Community
- Docs
- Contact
- Manage cookies
- Do not share my personal information
You can’t perform that action at this time.