Sha256: 8befbfa1cc1be6ab3325264c713841018de504933bb17e1d1ff702d6a402a17d
Contents?: true
Size: 395 Bytes
Versions: 22
Compression:
Stored size: 395 Bytes
Contents
#!/usr/bin/env ruby require 'pathname' gem_root = Pathname.new(File.expand_path("../..", __FILE__)) scripts_dir = gem_root + 'share' + 'scripts' subcommand = ARGV[0] || '__nosuch__' subcommand_path = scripts_dir + subcommand if subcommand_path.file? ARGV.shift Kernel.exec subcommand_path.to_s, *ARGV else docker_bin_path = `which docker`.chomp Kernel.exec docker_bin_path, *ARGV end
Version data entries
22 entries across 11 versions & 1 rubygems