method

_remote_specification

_remote_specification()
private

No documentation available.

# File lib/bundler/stub_specification.rb, line 88
    def _remote_specification
      @_remote_specification ||= begin
        rs = stub.to_spec
        if rs.equal?(self) # happens when to_spec gets the spec from Gem.loaded_specs
          rs = Gem::Specification.load(loaded_from)
          Bundler.rubygems.stub_set_spec(stub, rs)
        end

        unless rs
          raise GemspecError, "The gemspec for #{full_name} at #{loaded_from}"              " was missing or broken. Try running `gem pristine #{name} -v #{version}`"              " to fix the cached spec."
        end

        rs.source = source

        rs
      end
    end