Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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: #335
- Loading branch information