From: xtkoba+ruby@... Date: 2021-05-13T11:06:28+00:00 Subject: [ruby-core:103834] [Ruby master Feature#17859] Start IRB when running just `ruby` Issue #17859 has been updated by xtkoba (Tee KOBAYASHI). user:jaruga For me the slowness of IRB is just annoying for debugging purposes. Putting `-` after the command every time would be distracting. If this proposal is accepted leaving the slowness of IRB as it is, I would write a wrapper script that makes `ruby` command from a terminal without any arguments not invoke IRB. It is true that gems-enabled ruby is also slow, but not slower than IRB: ``` $ time ruby --enable-gems -e "puts 'hello world'" hello world real 0m0.212s user 0m0.183s sys 0m0.026s ``` ---------------------------------------- Feature #17859: Start IRB when running just `ruby` https://bugs.ruby-lang.org/issues/17859#change-91952 * 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: