diff --git a/Gemfile b/Gemfile index fb32937..9c9a05c 100644 --- a/Gemfile +++ b/Gemfile @@ -12,7 +12,7 @@ gem 'rbvmomi', '>= 1.8' gem 'redis', '>= 3.2' gem 'sinatra', '>= 1.4' gem 'net-ldap', '<= 0.12.1' # keep compatibility w/ jruby & mri-1.9.3 -gem 'statsd-ruby', '>= 1.3.0' +gem 'statsd-ruby', '>= 1.3.0', :require => 'statsd' # Test deps group :test do diff --git a/lib/vmpooler/statsd.rb b/lib/vmpooler/statsd.rb index 60d8b21..ac2ccc2 100644 --- a/lib/vmpooler/statsd.rb +++ b/lib/vmpooler/statsd.rb @@ -1,5 +1,5 @@ require 'rubygems' unless defined?(Gem) -require 'statsd-ruby' +require 'statsd' module Vmpooler class Statsd