16 lines
279 B
Bash
Executable File
16 lines
279 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -euo pipefail
|
|
|
|
# output debugging info
|
|
ruby --version
|
|
printf "rubygems %s\n" "$(gem --version)"
|
|
bundle version
|
|
|
|
if [ -z "${LD_PRELOAD+x}" ]; then
|
|
LD_PRELOAD="$(find /usr/lib -name libjemalloc.so.2 -print -quit)"
|
|
export LD_PRELOAD
|
|
fi
|
|
|
|
exec "${@}"
|