also require gcc when we have buildflags
authorMarcel Haerry <haerry@puzzle.ch>
Tue, 28 Sep 2010 16:39:07 +0000 (18:39 +0200)
committerMarcel Haerry <haerry@puzzle.ch>
Tue, 28 Sep 2010 16:39:07 +0000 (18:39 +0200)
manifests/gem.pp

index 90b3af8..14b6785 100644 (file)
@@ -29,7 +29,7 @@ define rubygems::gem(
   $requiresgcc = false
 ) {
   require ::rubygems
-  if $requiresgcc {
+  if $requiresgcc or ($buildflags != 'absent') {
     require ::gcc
   }