/usr/lib/ruby/vendor_ruby/specinfra/helper/docker.rb is in ruby-specinfra 2.66.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 | module Specinfra
module Helper
module Docker
def self.included(klass)
require 'docker' unless defined?(::Docker)
rescue LoadError
fail "Docker client library is not available. Try installing `docker-api' gem."
end
end
end
end
|