/usr/lib/ruby/vendor_ruby/bundler/plugin/installer/rubygems.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 17 18 19 20 21 22 23 24 25 26 27 | # frozen_string_literal: true
module Bundler
module Plugin
class Installer
class Rubygems < Bundler::Source::Rubygems
def version_message(spec)
"#{spec.name} #{spec.version}"
end
private
def requires_sudo?
false # Will change on implementation of project level plugins
end
def rubygems_dir
Plugin.root
end
def cache_path
Plugin.cache
end
end
end
end
end
|