/usr/lib/ruby/vendor_ruby/bundler/rubygems_gem_installer.rb is in ruby-bundler 1.13.6-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # frozen_string_literal: true
require "rubygems/installer"
module Bundler
class RubyGemsGemInstaller < Gem::Installer
unless respond_to?(:at)
def self.at(*args)
new(*args)
end
end
def check_executable_overwrite(filename)
# Bundler needs to install gems regardless of binstub overwriting
end
end
end
|