rvm / rvm1-ansible

The official ansible RVM role to install and manage your Ruby versions.
MIT License
271 stars 136 forks source link

Switch to ruby version #81

Closed strarsis closed 8 years ago

strarsis commented 8 years ago

When there is another role/playbook/external ansible code that should install a gem, how can it easily switch to a ruby version to use its gem command? Does this role offer a command or shortcut for this?

nickjj commented 8 years ago

The bundle and gem binaries are symlinked. You should be able to reference them directly from another role.

A full list of available binaries can be found here: https://github.com/rvm/rvm1-ansible/blob/master/vars/main.yml#L9

lpaulmp commented 8 years ago

@strarsis the last comment helped to resolve this issue?

strarsis commented 8 years ago

Yes, I think so.