[ruby-core:102780] [Ruby master Bug#17681] irb3.0 exits after "source" command
From:
simon.dedeo@...
Date:
2021-03-08 18:53:48 UTC
List:
ruby-core #102780
Issue #17681 has been updated by simondedeo (Simon DeDeo). Now resolved; I needed to update irb by gem3.0 install irb. ---------------------------------------- Bug #17681: irb3.0 exits after "source" command https://bugs.ruby-lang.org/issues/17681#change-90796 * Author: simondedeo (Simon DeDeo) * Status: Open * Priority: Normal * ruby -v: ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin16] * Backport: 2.5: UNKNOWN, 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- 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) -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:[email protected]?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>