method

refresh!

v1_9_3_392 - Show latest stable - Class: Gem::SourceIndex
refresh!()
public

Replaces the gems in the source index from specifications in the directories this source index was created from. Raises an exception if this source index wasn’t created from a directory (via from_gems_in or from_installed_gems, or having spec_dirs set).