Fix bundler installation shell command

This commit is contained in:
Leonid Svyatov
2015-04-27 17:53:56 +03:00
parent 9862ed26fb
commit e55d541696

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