github.com/nycdavid/zeus@v0.0.0-20201208104106-9ba439429e03/rubygem/bin/zeus (about) 1 #!/usr/bin/env ruby 2 platform = `uname -sm` 3 4 exe = case platform 5 when /^Darwin/ ; "zeus-darwin-amd64" 6 when /^Linux.*64/ ; "zeus-linux-amd64" 7 when /^Linux.*/ ; "zeus-linux-386" 8 else 9 puts "Zeus is not supported on your platform." 10 puts "It's not likely to ever be possible on Windows." 11 puts "If you're using another platform that you think should work easily, open an issue at:" 12 puts "https://github.com/burke/zeus/issues" 13 exit 1 14 end 15 16 zeusgemdir = File.expand_path("../../", __FILE__) 17 exec "#{zeusgemdir}/build/#{exe}", *ARGV