bin/rdbg

Fri, 06 May 2022 11:14:13 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 06 May 2022 11:14:13 -0500
changeset 991
a925474b9558
parent 990
a4f19f325dea
child 992
4e3e37ce84bc
permissions
-rwxr-xr-x

Handle M1 homebrew setup if present

#!/bin/sh
set -eu
. ~/.lib/sh/stubexec.sh

install_it() {
  [ -w "$(gem env gemdir)" ] ||
    opt="--user-install"

  gem install -q ${opt:-} "debug:>=1.0.0"
  asdf reshim ruby || :
}

stubexec "$@"

mercurial