ruby/template/ruby-gdb.in

7 строки
170 B
Bash
Executable File

#!/bin/sh
prefix="/${0%/*}"
prefix="${prefix%/*}"
ruby="${bindir}/${RUBY_INSTALL_NAME}"
gdbinit="${rubylibdir}/gdbinit"
exec gdb --command="$gdbinit" --args "$ruby" "$@"