Skip to content

Commit 4651d23

Browse files
deivid-rodriguezhsbt
authored andcommitted
[rubygems/rubygems] No need to detect ancient binstubs either
ruby/rubygems@346d491a11
1 parent 15751af commit 4651d23

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/rubygems/installer.rb

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,6 @@ def check_executable_overwrite(filename) # :nodoc:
228228
ruby_executable = true
229229
existing = io.read.slice(/
230230
^\s*(
231-
gem \s |
232-
load \s Gem\.bin_path\( |
233231
load \s Gem\.activate_bin_path\(
234232
)
235233
(['"])(.*?)(\2),

0 commit comments

Comments
 (0)