irb icon indicating copy to clipboard operation
irb copied to clipboard

interactive Ruby

Results 116 irb issues
Sort by recently updated
recently updated
newest added

Update docs in man and `--help`. The options in the SYNOPSIS section were replaced with "OPTIONS" because they became very lengthy. There is a discrepancy in the description of the...

fix #580 - Implement `puts` and `print` in `InputMethod` to be overridden by Input methods. - Change all `Kernel#puts` invocation to `irb_context.io.puts`

## Description Calling to `IRB.start` results in IRB leaking out Reline changes globally. ## Minimal Reproducible Example ```ruby require 'reline' require 'irb' ::Reline.autocompletion = false line = ::Reline.readline('PROMPT >> ',...

## Description The ruby parser considers CR to be a whitespace character, but IRB does not seem to do that. This may result in an extra ^M at the end...

## Description It would be great to replace the usages of Ripper in IRB by Prism. There are many advantages: * Prism is faster than Ripper, and the difference is...

## Description In this situation, IRB raises UndefinedConversionError ``` [tomoya.ishida:3.2]% echo "IRB.conf[:USE_MULTILINE]=false" > irbrc [tomoya.ishida:3.2]% IRBRC=irbrc LANG=en_US.ASCII ruby -Eutf-8:utf-8 -e "binding.irb" irb(main):001> Readline::VERSION => "8.2" irb(main):002> \343\201\202\343\201\202\343\201\202 /Users/tomoya.ishida/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/gems/irb-1.14.1/lib/irb/history.rb:82:in `write': "\xE3"...

This PR just extends the test for UTF-16 LE/BE as well. refs #52 and https://github.com/ruby/irb/pull/1129#discussion_r2469918480 **PS:** I'm looking for a new adventure in case anybody is looking to hire or...

## Versions - **irb**: 1.15.2 - **debug**: 1.11.0 - **Ruby**: 3.3.6 - **OS**: MacOS ## Description When running an IRB session launched from a script under `debug` with `RUBY_DEBUG_IRB_CONSOLE=true`, command...

## Description I expected that `binding.irb` would start an interactive session regardless of execution context's class. However, that is not the case, as `IRB` can't be found when called in...

Bringing docs in line with what (and in what order) rc files are loaded: - `$HOME/.config/irb/irbrc` is only considered when `XDG_CONFIG_HOME` is not set. - loading of irb.rc was removed...