method

spec_cache_dirs

ruby latest stable - Class: Bundler::RubygemsIntegration

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

spec_cache_dirs()
public

No documentation available.

# File lib/bundler/rubygems_integration.rb, line 187
    def spec_cache_dirs
      @spec_cache_dirs ||= begin
        dirs = gem_path.map {|dir| File.join(dir, "specifications") }
        dirs << Gem.spec_cache_dir if Gem.respond_to?(:spec_cache_dir) # Not in RubyGems 2.0.3 or earlier
        dirs.uniq.select {|dir| File.directory? dir }
      end
    end