blt04/puppet-rvm — pull request #55 by heffergm (2012-10-26 17:34:45+00:00)
Title: updates to rvm_gem to allow passing build options

I've been using this locally, not sure if it's of any interest, but if so, feel free to include it. We have a lot of cases where we compile and install software in non-system locations, so being able to build gems referencing those installations is necessary.

Basically, just a few changes to rvm_gem to allow passing build options, e.g.

rvm_gem {'igraph':
ruby_version => $rvm_common::ruby_appversion,
require => [Rvm_system_ruby[$rvm_common::ruby_appversion], Class['igraph']],
ensure => '0.9.7',
withopts => '--with-igraph-include=/opt/igraph/include/igraph --with-igraph-lib=/opt/igraph/lib',
tag => 'rvm',
}