Project

General

Profile

Actions

Bug #17681

closed

irb3.0 exits after "source" command

Added by simondedeo (Simon DeDeo) about 3 years ago. Updated about 3 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin16]
[ruby-core:102779]

Description

in contrast to previous versions of irb, irb3.0 exits (with "nil") on executing a "source". Here's an example:

ayerie:simon$ cat > test.rb

print "hello"

ayerie:simon$ irb3.0
irb(main):001:0" source "test.rb"
test.rb(main):002:0>
test.rb(main):003:0> print "hello"
hello=> nil
test.rb(main):004:0>
test.rb(main):005:0>
=> nil

irb version is
irb 1.3.0 (2020-12-25)

Updated by simondedeo (Simon DeDeo) about 3 years ago

Now resolved; I needed to update irb by gem3.0 install irb.

Actions #2

Updated by jeremyevans0 (Jeremy Evans) about 3 years ago

  • Status changed from Open to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0