benhoskings/babushka-deps

RVM Systemwide install fails

Closed this issue · 1 comments

dkam commented

Hi Ben,
Just learning Babushka - I think the URL you're using for system wide installs is incorrect. The correct command (run as root) is :

bash < <(curl -s https://rvm.beginrescueend.com/install/rvm)

Attempting to run

$ babushka benhoskings:rvm

and selecting system wide install fails with the following in the error log (couldn't get the markdown to display nicely):

benhoskings:rvm {
(defining rvm against Babushka::Dep::BaseTemplate)
setup not defined.
$ echo $SHELL
/bin/bash
$ bash -l -c "which rvm"
stdin: is not a tty
prepare not defined.
meet {
before not defined.
Install rvm system-wide [y] Installing rvm using rvm-install-system-wide... $ bash < <( curl -L http://bit.ly/rvm-install-system-wide )
sh: Syntax error: redirection unexpected
failed
}
$ echo $SHELL
/bin/bash
$ bash -l -c "which rvm"
stdin: is not a tty
} ✗ benhoskings:rvm
in dir /root/.babushka (/root/.babushka) {
Saving /root/.babushka/sticky_vars
}
in dir /root/.babushka/vars (/root/.babushka/vars) {
Saving /root/.babushka/vars/benhoskings:rvm
}

Going through some old issues—closing this as I don't have any rvm deps anymore.