[#104004] [Ruby master Feature#17883] Load bundler/setup earlier to make `bundle exec ruby -r` respect Gemfile — mame@...
Issue #17883 has been reported by mame (Yusuke Endoh).
21 messages
2021/05/24
[ruby-core:103833] [Ruby master Feature#17859] Start IRB when running just `ruby`
From:
jaruga@...
Date:
2021-05-13 10:30:27 UTC
List:
ruby-core #103833
Issue #17859 has been updated by jaruga (Jun Aruga). > I would not take any objection to this suggestion if IRB initialization were x10 faster. @xtkoba Could you tell us why you have the concern or mind about the speed of the IRB in case that it is called by `$ ruby`? Are you considering a case that the IRB is unintentionally or wrongly called in `$ ruby` by users? Related to #17684, it might be a good idea to use the `irb` light weight version with `--disable-gems` or an equivalent thing to load a few things in `$ ruby` to solve your concern. ---------------------------------------- Feature #17859: Start IRB when running just `ruby` https://bugs.ruby-lang.org/issues/17859#change-91951 * Author: deivid (David Rodr刕uez) * 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: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>