Files
ansible-role-rvm/vars/main.yml
Zeno Grandi 11a01534a6 Accept 'rvm1_rubies' as a single string version
If 'rvm1_rubies' is a string with a single Ruby version (a common mistake), the role currently installs it correctly but subsequently fails to symlink the default wrappers; with this change it will instead correctly use the given version.
2016-10-12 10:35:44 +02:00

23 lines
403 B
YAML

---
rvm1_temp_download_path: '/tmp'
rvm1_default_ruby_version: '{{ rvm1_rubies | last if rvm1_rubies and rvm1_rubies is iterable else rvm1_rubies }}'
rvm1_rvm: '{{ rvm1_install_path }}/bin/rvm'
rvm1_symlink_binaries:
- 'bundle'
- 'bundler'
- 'erb'
- 'executable-hooks-uninstaller'
- 'gem'
- 'irb'
- 'rake'
- 'rdoc'
- 'ri'
- 'ruby'
- 'testrb'
rvm1_symlink_to: '/usr/local/bin'