check-memory-percent.rb 210 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 #!/usr/bin/env ruby bin_dir = File.expand_path(File.dirname(__FILE__)) shell_script_path = File.join(bin_dir, File.basename($PROGRAM_NAME, '.rb') + '.sh') exec shell_script_path, *ARGV, unsetenv_others: true