liquidm / ruby-druid

Ruby utilities for metamx druid
MIT License
43 stars 34 forks source link

NameError: uninitialized constant Druid::Client #3

Closed rjurney closed 11 years ago

rjurney commented 11 years ago

require 'druid'

Druid::Client.new({:static_setup => 'http://localhost:8083'}) NameError: uninitialized constant Druid::Client from (irb):2

ryanza commented 11 years ago

Hi Russell,

Could you please show us an example of your Gemfile?

rjurney commented 11 years ago

I simply gem install'd druid, and then require'd it.

jwroblewski commented 11 years ago

Please note that name of this gem is ruby-druid, not druid. It is not yet registered with rubygems.org, so you probably installed druid gem instead of ruby-druid. Please put the following into your gemfile:

gem 'ruby-druid', :git => 'https://github.com/madvertise/ruby-druid.git'

Also, it would be cool to have this gem tracked by rubygems.org, @ryanza.

ryanza commented 11 years ago

Theres plans to release a new version in the next week with a few extra features and performance increases. :)

rjurney commented 11 years ago

Ah ha! Thanks. I checked out the code and it works.