def call
      path_gems = []

      Bundler.with_clean_env do
        Dir.chdir(dir) do
          create_gemfile_from_gem_names
          `bundle install --path vendor/gems`
          path_gems = all_gems_metadata
        end
      end

      return path_gems
    end
def call
      path_gems = []

      Bundler.with_clean_env do
        Dir.chdir(dir) do
          create_gemfile_from_gem_names
          `bundle install --path vendor/gems`
          path_gems = all_gems_metadata
        end
      end

      return path_gems
    end
Returns an Array of paths (plugin lib file paths) and gems (of metadata)