Merge pull request #71 from stackbuilders/bundle_directory_fix

This fixes the location of the bundler pointing to the global ruby version
This commit is contained in:
Nick Janetakis
2015-11-19 09:57:11 -05:00

View File

@@ -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'