diff options
author | st0012 <stan001212@gmail.com> | 2022-01-17 15:17:18 +0000 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-01-18 15:56:48 +0900 |
commit | 3fb1f411ed8dcae693c2e9bdb68f4e9815cbb5f1 (patch) | |
tree | 633db8177c92fe06da75b65e077d6ecc8e8ede5f /complex.c | |
parent | eb98275c967d8938526966fe53e52f5a10249492 (diff) | |
download | ruby-3fb1f411ed8dcae693c2e9bdb68f4e9815cbb5f1.tar.gz |
[ruby/irb] require_relative can't be used for default gems' exe files
The `exe` folder and `lib` folder of default gems don't locate under the
same place. While `exe/irb` will be under the gem folder, `irb.rb` will be
under `lib/ruby/VERSION/`.
So `require_relative` will make `irb` unuseable when shipped with Ruby.
Related discussion in the comments: https://github.com/ruby/irb/pull/335
https://github.com/ruby/irb/commit/99d3aa979d
Diffstat (limited to 'complex.c')
0 files changed, 0 insertions, 0 deletions