From: xtkoba+ruby@... Date: 2021-05-13T06:00:06+00:00 Subject: [ruby-core:103819] [Ruby master Feature#17859] Start IRB when running just `ruby` Issue #17859 has been updated by xtkoba (Tee KOBAYASHI). This might be rather off-topic, but my main concern is that IRB takes much longer time before showing its first prompt, than its counterpart in Python. ``` $ time echo | irb Switch to inspect mode. real 0m0.622s user 0m0.567s sys 0m0.052s $ time python Python 3.9.5 (default, May 13 2021, 12:09:20) [GCC 11.1.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> ^D real 0m0.077s user 0m0.059s sys 0m0.014s ``` I would not take any objection to this suggestion if IRB initialization were x10 faster. (My topic is probably related to #17684.) ---------------------------------------- Feature #17859: Start IRB when running just `ruby` https://bugs.ruby-lang.org/issues/17859#change-91937 * Author: deivid (David Rodr�guez) * Status: Open * Priority: Normal ---------------------------------------- Compare python: ``` $ python Python 3.8.3 (default, Jul 8 2020, 16:49:12) [GCC 7.5.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> ``` To ruby: ``` $ ruby # just hangs ``` I think firing up a console it's a good default behaviour for beginners. -- https://bugs.ruby-lang.org/ Unsubscribe: