Merge pull request #41 from svyatov/patch-1

Fix bundler installation shell command
This commit is contained in:
Nick Janetakis
2015-04-27 10:23:00 -07:00

View File

@@ -25,7 +25,9 @@
rvm1_default_ruby_version not in detect_default_ruby_version.stdout
- name: Install bundler if not installed
shell: 'gem list | if ! grep "^bundler " ; then {{ rvm1_install_path }}/wrappers/{{ item }}/gem install bundler ; fi'
shell: >
{{ rvm1_install_path }}/wrappers/{{ item }}/gem list
| if ! grep "^bundler " ; then {{ rvm1_install_path }}/wrappers/{{ item }}/gem install bundler ; fi
args:
creates: '{{ rvm1_install_path }}/wrappers/{{ item }}/bundler'
with_items: rvm1_rubies