#! /usr/bin/env ruby
# frozen_string_literal: true

$VERBOSE = true

path = Dir["/usr/lib/*/libjemalloc.so.2"]
ENV["LD_PRELOAD"] = path.first unless ENV.key?("LD_PRELOAD") && path.empty?

system ARGV.join(" ")
