method
add_frozen_gem_path
rails latest stable - Class:
Rails::GemDependency
add_frozen_gem_path()public
No documentation available.
# File railties/lib/rails/gem_dependency.rb, line 19
def self.add_frozen_gem_path
@@paths_loaded ||= begin
source_index = Rails::VendorGemSourceIndex.new(Gem.source_index)
Gem.clear_paths
Gem.source_index = source_index
# loaded before us - we can't change them, so mark them
Gem.loaded_specs.each do |name, spec|
@@framework_gems[name] = spec
end
true
end
end