Load gem when setup file is specified directory
taichi-ishitani opened this issue · comments
When a setup file which is put on Gem directory is specified directory, load its gem before loading specified setup file.
The spec
object can be find by following procedure.
spec = Gem::Specification.each.find { |s| setup_file.start_with?(s.gem_dir) }