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