Skip to content

Add --console #638

Closed
imanpalsingh wants to merge 3 commits intoruby:masterfrom
imanpalsingh:add-rake-console
Closed

Add --console #638
imanpalsingh wants to merge 3 commits intoruby:masterfrom
imanpalsingh:add-rake-console

Conversation

@imanpalsingh
Copy link
Copy Markdown

This PR adds a new --console flag that starts an IRB session with the Rake environment loaded.

This is my first contribution to this project. Please let me know if I missed anything. I am not sure if tests are required for this. If they are, I would appreciate guidance on what to cover.

Imanpal Singh added 3 commits June 6, 2025 15:41
This module will load all the rakefiles and start the IRB.
Usage:

$ rake --console

Rake console, version 13.3.0
irb(main):001>
@hsbt
Copy link
Copy Markdown
Member

hsbt commented Apr 3, 2026

You can do it with rake -e 'binding.irb'

@hsbt hsbt closed this Apr 3, 2026
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