.lib/stubs/pry

Tue, 19 Sep 2023 17:12:00 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Tue, 19 Sep 2023 17:12:00 -0500
changeset 1129
1bd6edeaf6ae
parent 1107
c6d7ac40bd3c
permissions
-rwxr-xr-x

fix error when unnamed buffers can't be written

#!/bin/sh
set -eu

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

  gem install -q ${opt:-} \
    "pry:~>0.13.1" pry-byebug pry-inline
  asdf reshim ruby || :
}

. ~/.lib/sh/stubexec.sh

mercurial