991:a925474b9558 | 992:4e3e37ce84bc |
---|---|
1 #!/bin/sh | 1 #!/bin/sh |
2 set -eu | 2 set -eu |
3 . ~/.lib/sh/stubexec.sh | |
4 | 3 |
5 install_it() { | 4 install_it() { |
6 [ -w "$(gem env gemdir)" ] || | 5 [ -w "$(gem env gemdir)" ] || |
7 opt="--user-install" | 6 opt="--user-install" |
8 | 7 |
9 gem install -q ${opt:-} \ | 8 gem install -q ${opt:-} \ |
10 "pry:~>0.13.1" pry-byebug pry-inline | 9 "pry:~>0.13.1" pry-byebug pry-inline |
11 asdf reshim ruby || : | 10 asdf reshim ruby || : |
12 } | 11 } |
13 | 12 |
14 stubexec "$@" | 13 . ~/.lib/sh/stubexec.sh |