Use ruby_rvm_install_path in the detect default ruby version task

This commit is contained in:
Nick Janetakis
2014-05-03 13:56:32 -04:00
parent 5d9cf1c666
commit 3f1dbd407f

View File

@@ -38,7 +38,7 @@
when: not installed_ruby_version.stat.exists
- name: detect default ruby version
command: /usr/local/rvm/bin/rvm alias list default
command: "{{ ruby_rvm_install_path }}/bin/rvm alias list default"
register: ruby_selected
- name: ensure default ruby is selected