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