put virtualenv activation during build in comment. That means that for the moment the build machine must be provisionned beforehand, or ansible must be available globally
# Private class
class mysql::bindings::ruby {
package{ 'ruby_mysql':
ensure => $mysql::bindings::ruby_package_ensure,
install_options => $mysql::bindings::install_options,
name => $mysql::bindings::ruby_package_name,
provider => $mysql::bindings::ruby_package_provider,
}
}