Sha256: 3ed7f1c77097687093a89aae5ef45e2dde900a13bbda44043f34c24a1ee49bfc
Contents?: true
Size: 558 Bytes
Versions: 2
Compression:
Stored size: 558 Bytes
Contents
module Rails class GemDependency < Gem::Dependency def add_load_paths self.class.add_frozen_gem_path return if @loaded || @load_paths_added if framework_gem? @load_paths_added = @loaded = @frozen = true return end if self.requirement gem self.name, self.requirement else gem self.name end @spec = Gem.loaded_specs[name] @frozen = @spec.loaded_from.include?(self.class.unpacked_path) if @spec @load_paths_added = true rescue Gem::LoadError end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
kajam-1.0.3.rc2 | lib/kajam/gem_dependency_fix.rb |
radiant-1.0.0.rc2 | lib/radiant/gem_dependency_fix.rb |