[#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:103752] [Ruby master Bug#17846] Percent mode changes the output from ERB beyond what is documented
From:
takashikkbn@...
Date:
2021-05-06 06:14:09 UTC
List:
ruby-core #103752
Issue #17846 has been updated by k0kubun (Takashi Kokubun). Maybe not. Now I did https://github.com/ruby/erb/commit/b58b188028fbb403f75d48d62717373fc0908f7a. ---------------------------------------- Bug #17846: Percent mode changes the output from ERB beyond what is documented https://bugs.ruby-lang.org/issues/17846#change-91858 * Author: graywolf (Gray Wolf) * Status: Rejected * Priority: Normal * ruby -v: ruby 2.7.3p183 (2021-04-05 revision 6847ee089d) [x86_64-linux-musl] * Backport: 2.6: UNKNOWN, 2.7: UNKNOWN, 3.0: UNKNOWN ---------------------------------------- ``` / # cat repro.erb <% # %>x y / # erb repro.erb y / # erb -P repro.erb / # ``` Based on documentation of -P (disabling percent mode), this change in behavior is unexpected. -- 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>