From 2fc88e9a0587b049e54fad5e376c0c295d46f502 Mon Sep 17 00:00:00 2001 From: Nick Janetakis Date: Wed, 19 Nov 2014 10:40:20 -0500 Subject: [PATCH] Add a note about sudo: True for user installs, Fixes: #19 --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 84ef2c6..60f00aa 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,11 @@ run the play with sudo because it will need to write to `/usr/local/lib/rvm`. #### To the same user as `ansible_ssh_user` -You do not need to include `sudo: True` in this case, just overwrite `rvm_install_path` and set the `--user-install` flag: +In this case, just overwrite `rvm_install_path` and set the `--user-install` flag: + +**Note:** you still need to use sudo because during the ruby + installation phase rvm will internally make calls using sudo + to install certain ruby dependencies. ``` rvm1_install_flags: '--auto-dotfiles --user-install'