[Help] What is the correct way to embed IRB inside an app?

Open
#1,267 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
ruby
Domain
cli

Research direction

Start by reading IRB's public entry points and documentation for starting a session from a Ruby program. The issue asks for an official way to invoke IRB as an app subcommand, but does not specify expected behavior or a test location. Done would be a documented, supported approach that covers the manual operations described.

Written by the indexing model from the issue text.

Description

I would like to start IRB as a subcommand of my app, so I can do manual operations, for example, manual unit tests. but I didn't find an official way to start IRB inside a program. What would be the correct way to do that?

Dominant language
Ruby
Stars
477
Forks
165
Avg merge
1d 19h
Merged PRs (30d)
5

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ruby/irb

All issues in ruby/irb

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.