blt04 / puppet-rvm

A puppet module for installing and using RVM (Ruby Version Manager)
Other
242 stars 280 forks source link

updates to rvm_gem to allow passing build options #55

Closed heffergm closed 11 years ago

heffergm commented 11 years ago

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', }

blt04 commented 11 years ago

Thanks!