summaryrefslogtreecommitdiff
path: root/lib/rubygems/basic_specification.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2024-05-30 12:46:19 +0900
committerHiroshi SHIBATA <[email protected]>2024-05-30 12:46:19 +0900
commitba8e6e77fd81f039f3bc85b2c1fb72aa93499b14 ()
treeb59add7c0c0824968f5b0bf10eceef79b84e7cef /lib/rubygems/basic_specification.rb
parent974ed1408c516d1e8f992f0b304e2de6f8bd5c1f (diff)
Revert "[rubygems/rubygems] Fix `gem pristine` sometimes failing to pristine user installed gems"
This reverts commit a3edc4abc574b04bcacfae2af188cce7d27bfcf1. That commit caused test failure with Windows platform. * https://.com/ruby/ruby/actions/runs/9289018414/job/25561871390 * https://.com/ruby/ruby/actions/runs/9289018425/job/25561873060
-rw-r--r--lib/rubygems/basic_specification.rb13
1 files changed, 0 insertions, 13 deletions
@@ -144,19 +144,6 @@ class Gem::BasicSpecification
end
##
- # Returns the full name of this Gem (see `Gem::BasicSpecification#full_name`).
- # Information about where the gem is installed is also included if not
- # installed in the default GEM_HOME.
-
- def full_name_with_location
- if base_dir != Gem.dir
- "#{full_name} in #{base_dir}"
- else
- full_name
- end
- end
-
- ##
# Full paths in the gem to add to <code>$LOAD_PATH</code> when this gem is
# activated.