Sha256: 13253495f2cca26d3dbd641210849c65ba0b4c3f5c652c3ecc54b73c5d60d8b2
Contents?: true
Size: 409 Bytes
Versions: 76
Compression:
Stored size: 409 Bytes
Contents
#!/usr/bin/env ruby desired_version, arch = ARGV if arch.nil? STDERR.puts "Usage: get-mongodb-download-url desired-version arch" exit 1 end $: << File.join(File.dirname(__FILE__), '../lib') require 'mrss/server_version_registry' begin puts Mrss::ServerVersionRegistry.new(desired_version, arch).download_url rescue Mrss::ServerVersionRegistry::Error => exc STDERR.puts "Error: #{exc}" exit 2 end
Version data entries
76 entries across 76 versions & 4 rubygems