From 748fc8a258d52474ca2e2e811d1ff53a316472b0 Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Tue, 2 Oct 2012 18:06:15 +0200 Subject: [PATCH] support installing, even if rvm is already present Signed-off-by: Nico Schottelius --- conf/type/__rvm/gencode-remote | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conf/type/__rvm/gencode-remote b/conf/type/__rvm/gencode-remote index 6c661302..aa6ef647 100755 --- a/conf/type/__rvm/gencode-remote +++ b/conf/type/__rvm/gencode-remote @@ -25,7 +25,7 @@ if [ "$state_is" != "$state_should" ]; then case "$state_should" in present) cat << DONE -su - $user -c "curl -L get.rvm.io | bash -s stable" +su - $user -c "unset rvm_path; unset rvm_bin_path; unset rvm_prefix; unset rvm_version; curl -L get.rvm.io | bash -s stable" DONE ;; absent)