11 lines
351 B
Shell
11 lines
351 B
Shell
systemd-run \
|
|
--user \
|
|
--wait \
|
|
--pipe \
|
|
--property PrivateTmp=yes \
|
|
--property TemporaryFileSystem=/:ro \
|
|
--property BindPaths="/bin /lib64 /lib /usr /home /var /etc" \
|
|
--property BindPaths=$1/ruby:/ruby \
|
|
--property Environment=RBENV_ROOT=/ruby \
|
|
--working-directory=/tmp \
|
|
sh -c "rbenv install $2 --verbose"
|