Skip to content

Commit

Permalink
Merge pull request #41 from svyatov/patch-1
Browse files Browse the repository at this point in the history
Fix bundler installation shell command
  • Loading branch information
nickjj committed Apr 27, 2015
2 parents 9862ed2 + e55d541 commit 26bf7f9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tasks/rubies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 26bf7f9

Please sign in to comment.