.lib/stubs/rdbg

Mon, 08 May 2023 02:36:32 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 08 May 2023 02:36:32 -0500
changeset 1112
0ae7864c4ad8
parent 1107
c6d7ac40bd3c
permissions
-rwxr-xr-x

add basic nix alternative for stubs

#!/bin/sh
set -eu

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

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

. ~/.lib/sh/stubexec.sh

mercurial