[#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:103992] [Ruby master Bug#17780] Backport for super_method aliases in ruby 2.7.3 causes Segfault
From:
nagachika00@...
Date:
2021-05-23 06:01:21 UTC
List:
ruby-core #103992
Issue #17780 has been updated by nagachika (Tomoyuki Chikanaga).
Backport changed from 2.6: REQUIRED, 2.7: REQUIRED, 3.0: REQUIRED to 2.6: REQUIRED, 2.7: REQUIRED, 3.0: DONE
ruby_3_0 410216c9db033a72f4dd119c366bc58dd54383ec merged revision(s) d8a13e504992a45d52063f7c925408d7aad3595a.
----------------------------------------
Bug #17780: Backport for super_method aliases in ruby 2.7.3 causes Segfault
https://bugs.ruby-lang.org/issues/17780#change-92129
* Author: dewyze (John DeWyze)
* Status: Closed
* Priority: Normal
* Assignee: peterzhu2118 (Peter Zhu)
* ruby -v: 2.7.3p183
* Backport: 2.6: REQUIRED, 2.7: REQUIRED, 3.0: DONE
----------------------------------------
This error was discovered while trying to run `bundle exec srb init` on a new rails project.
Thanks to Peter Zhu for debugging this, finding the breaking commit, and providing a minimum example:
Breaking commit: https://github.com/ruby/ruby/commit/c98aa2db60f43e839d7a82897c22b5ceecbed417
Minimum example:
```
module Test
def foo
puts "hello"
end
alias :f :foo
end
method = Test.instance_method(:f)
super_method = method.super_method
```
---Files--------------------------------
crash.log (20.1 KB)
--
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>