blob: 961dcd189264e0b2897e7e303e017416ddfbec3b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# bootstrapping with ruby-bootstrap in /opt/ruby-xxx
depends=(${depends[@]//ruby/})
depends+='ruby-bootstrap'
# create /opt/ruby-xxx/bin
eval "$(
declare -f package | \
sed '
/_gemdir/ a mkdir -p "${pkgdir}"/usr/bin
'
)"
|