summaryrefslogtreecommitdiff
path: root/libexec/irb
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/irb] require_relative can't be used for default gems' exe filesst00122022-01-181-1/+1
| | | | | | | | | | | | 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
* [ruby/irb] Use require_relative to require lib filesst00122022-01-171-1/+1
| | | | | | | | | 1. `require` can mislead Ruby to load system irb's files and cause constant redefined warnings as other code loads the same module/class from lib folder. 2. Most files already use `require_relative`. https://github.com/ruby/irb/commit/848d339f2e
* [ruby/irb] Move IRB::TOPLEVEL_BINDING from exe/irb to lib/irb/workspace.rbaycabta2021-09-101-1/+0
| | | | https://github.com/ruby/irb/commit/e736a77076
* [ruby/irb] Avoid loading files' local variables [Bug #17623]Marc-Andre Lafortune2021-09-101-0/+1
| | | | https://github.com/ruby/irb/commit/b12f0cb8e2
* Use stub executables generated by RubyGems istead of original executables.hsbt2018-11-251-0/+11
It resolved the conflict issues when invoking `gem i rdoc` and the binstub issues with Bundler and Rails. [Bug #5060][ruby-core:38257][Fix GH-2023] * https://github.com/rubygems/rubygems/pull/2338 * https://github.com/heroku/heroku-buildpack-ruby/issues/829 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e