comparison: bin/rdbg
bin/rdbg
- changeset 992
- 4e3e37ce84bc
- parent 990
- a4f19f325dea
equal
deleted
inserted
replaced
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:-} "debug:>=1.0.0" |
8 gem install -q ${opt:-} "debug:>=1.0.0" |
10 asdf reshim ruby || : |
9 asdf reshim ruby || : |
11 } |
10 } |
12 |
11 |
13 stubexec "$@" |
12 . ~/.lib/sh/stubexec.sh |