summaryrefslogtreecommitdiff
path: root/template/ruby-gdb.in
blob: 7ab4e976c672b46c3398bd0ea9537df1dddf523d (plain)
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" "$@"