Overwrite this so that a gem of the same name and version won’t push one from the gems directory out entirely.
@param gem_spec
# File lib/extlib/rubygems.rb, line 13 13: def add_spec(gem_spec) 14: unless gem_spec.instance_variable_get("@loaded_from") && 15: @gems[gem_spec.full_name].is_a?(Gem::Specification) && 16: @gems[gem_spec.full_name].installation_path == 17: File.join(defined?(Merb) && Merb.respond_to?(:root) ? Merb.root : Dir.pwd,"gems") 18: 19: @gems[gem_spec.full_name] = gem_spec 20: end 21: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.