From 9c515da6b05760c71f8efd1754f0a1301c89123f Mon Sep 17 00:00:00 2001 From: staticsafe Date: Fri, 24 Nov 2017 15:11:28 -0500 Subject: [PATCH] Define full path to rbenv for install PATH doesn't seem to be set correctly previously or isn't in effect --- roles/ruby/tasks/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/ruby/tasks/main.yml b/roles/ruby/tasks/main.yml index 306b3af..012deaf 100644 --- a/roles/ruby/tasks/main.yml +++ b/roles/ruby/tasks/main.yml @@ -31,7 +31,7 @@ become: true become_user: mastodon - name: Install Ruby and set it as the user's default - shell: rbenv install 2.4.2 && rbenv global 2.4.2 + shell: /home/mastodon/.rbenv/bin/rbenv install 2.4.2 && /home/mastodon/.rbenv/bin/rbenv global 2.4.2 args: executable: /bin/bash become: true