# File lib/extlib/rubygems.rb, line 13
      def add_spec(gem_spec)
        unless gem_spec.instance_variable_get("@loaded_from") &&
          @gems[gem_spec.full_name].is_a?(Gem::Specification) &&
          @gems[gem_spec.full_name].installation_path ==
            File.join(defined?(Merb) && Merb.respond_to?(:root) ? Merb.root : Dir.pwd,"gems")

          @gems[gem_spec.full_name] = gem_spec
        end
      end