diff options
author | Hiroshi SHIBATA <[email protected]> | 2024-09-06 13:06:56 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <[email protected]> | 2024-09-06 14:45:17 +0900 |
commit | 69d0e690bb632c0f67d8bb55988e91f61aff68f8 () | |
tree | ac30393b9a7b1a1cacc8c509bfe126bc0ae2f201 /prelude.rb | |
parent | e43d701f091e78725acc312465174d938fd5d639 (diff) |
Added force_require for binding.irb
When we make irb to bundled gems, binding.irb with bundle exec is not working without irb declaration of Gemfile. This force_require makes to load irb without Gemfile.
Notes: Merged: https://.com/ruby/ruby/pull/11560
-rw-r--r-- | prelude.rb | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -1,12 +1,30 @@ class Binding # :nodoc: def irb - require 'irb' irb end # suppress redefinition warning alias irb irb # :nodoc: end module Kernel |