From 57b06c0ff671a647fbc61c87d4f36418426659dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Mon, 8 Apr 2019 16:24:47 +0200 Subject: Remove more unnecessary code The `full_gem_path` writer has been there since rubygems 2.2 --- lib/bundler/rubygems_ext.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/bundler/rubygems_ext.rb b/lib/bundler/rubygems_ext.rb index 3488c536fd..beed6372a3 100644 --- a/lib/bundler/rubygems_ext.rb +++ b/lib/bundler/rubygems_ext.rb @@ -23,8 +23,6 @@ module Gem alias_method :rg_full_gem_path, :full_gem_path alias_method :rg_loaded_from, :loaded_from - attr_writer :full_gem_path unless instance_methods.include?(:full_gem_path=) - def full_gem_path # this cannot check source.is_a?(Bundler::Plugin::API::Source) # because that _could_ trip the autoload, and if there are unresolved -- cgit v1.2.1