From 34445beea824ae43b97b788e0ae703649cde0fe4 Mon Sep 17 00:00:00 2001 From: Wander Bravo Date: Thu, 19 Nov 2015 09:15:32 -0500 Subject: [PATCH] This fixes the location of the bundler pointing to the global ruby version --- tasks/rubies.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tasks/rubies.yml b/tasks/rubies.yml index 63cea56..2dfc4f7 100644 --- a/tasks/rubies.yml +++ b/tasks/rubies.yml @@ -26,10 +26,10 @@ - name: Install bundler if not installed shell: > - {{ rvm1_install_path }}/wrappers/{{ item }}/gem list - | if ! grep "^bundler " ; then {{ rvm1_install_path }}/wrappers/{{ item }}/gem install bundler ; fi + {{ rvm1_install_path }}/wrappers/{{ item }}@global/gem list + | if ! grep "^bundler " ; then {{ rvm1_install_path }}/wrappers/{{ item }}@global/gem install bundler ; fi args: - creates: '{{ rvm1_install_path }}/wrappers/{{ item }}/bundler' + creates: '{{ rvm1_install_path }}/wrappers/{{ item }}@global/bundler' with_items: rvm1_rubies register: bundler_install changed_when: '"Successfully installed bundler" in bundler_install.stdout'