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