jfryman/puppet-rvm — Issue #1: module do not detect failed ruby install
Author: fernandes
Created: 2012-01-16 13:31:58+00:00
State: open

After trying to install ree, it failed (by missing dependencies as I'm add support to debian)

But as I've see on rvm/manifests/define/version.pp:17

```ruby
exec { "install-ruby-${name}":
command => "rvm install ${name}",
creates => "${rvm_ruby}/${name}",
require => Class['rvm'],
}
```

It creates the file either the ruby install has failed, and next run, puppet considers its already installed.. a rvm install ree else fails as ree was already installed, only way to solve is with a "reinstall"

```bash

root@host01:~# rvm list

rvm rubies

# Default ruby not set. Try 'rvm alias create default '.

# => - current
# =* - current && default
# * - default

root@host01:~# rvm install ree-1.8.7
Already installed ree-1.8.7-2011.12.
To reinstall use:

rvm reinstall ree-1.8.7-2011.12
```