Skip to content
Browse files

Adding package gcc to ruby.pp to resolve issues installing bson_ext a…

…nd json gems when trying to build native extensions
  • Loading branch information...
1 parent 9af0bfe commit 3d574f4d29ddfd9221d8826d441292f4b0ffa751 @geauxvirtual geauxvirtual committed Nov 6, 2012
Showing with 7 additions and 1 deletion.
  1. +7 −1 manifests/ruby.pp
View
8 manifests/ruby.pp
@@ -20,6 +20,12 @@
ensure => present,
}
}
+
+ if ! defined(Package['gcc']) {
+ package { 'gcc':
+ ensure => present,
+ }
+ }
package { [
'base62',
@@ -38,6 +44,6 @@
]:
ensure => present,
provider => gem,
- require => [ Class['::ruby'], Class['::ruby::dev'], Package['make'] ],
+ require => [ Class['::ruby'], Class['::ruby::dev'], Package['make'], Package['gcc'] ],
}
}

0 comments on commit 3d574f4

Please sign in to comment.
Something went wrong with that request. Please try again.