ruby/lib/rubygems/specification.rb
##
# Activate this spec, registering it as a loaded spec and adding
# it's lib paths to $LOAD_PATH. Returns true if the spec was
# activated, false if it was previously activated. Freaks out if
# there are conflicts upon activation.
Activate this spec, registering it as a loaded spec and adding
it's lib paths to $LOAD_PATH. Returns true if the spec was
activated, false if it was previously activated. Freaks out if
there are conflicts upon activation.
Activate this spec registering it as a loaded spec and adding it ' s lib paths to $LOAD_PATH . Returns true if the spec was activated false if it was previously activated . Freaks out if there are conflicts upon activation .
def activate
    other = Gem.loaded_specs[self.name]
    if other then
      check_version_conflict other
      return false
    end
    raise_if_conflicts
    activate_dependencies
    add_self_to_load_path
    Gem.loaded_specs[self.name] = self
    @activated = true
    @loaded = true
    return true
  end
def activate other = Gem . loaded_specs [ self . name ] if other then check_version_conflict other return false end raise_if_conflicts activate_dependencies add_self_to_load_path Gem . loaded_specs [ self . name ] = self @activated = true @loaded = true return true end
Activate this spec, registering it as a loaded spec and adding
it's lib paths to $LOAD_PATH.
Activate this spec registering it as a loaded spec and adding it ' s lib paths to $LOAD_PATH .