[#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:103803] [Ruby master Feature#17859] Start IRB when running just `ruby`
From:
chris@...
Date:
2021-05-12 16:59:54 UTC
List:
ruby-core #103803
Issue #17859 has been updated by chrisseaton (Chris Seaton). A compromise could be a warning - TruffleRuby warns when standard in is a terminal, but otherwise works as normal. As TruffleRuby is often used in a polyglot context, we do find this trips people up a lot if they aren't used to Ruby. And as it's just sitting there silently waiting for input, they've no idea what's going on and they wait. ``` [ruby] WARNING: truffleruby starts IRB when stdin is a TTY instead of reading from stdin, use '-' to read from stdin ``` ---------------------------------------- Feature #17859: Start IRB when running just `ruby` https://bugs.ruby-lang.org/issues/17859#change-91918 * 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>