gemhome / fnordmetric

(possible new home for) FnordMetric is a redis/ruby-based realtime Event-Tracking app
0 stars 1 forks source link

Full example wont work #33

Open bf4 opened 10 years ago

bf4 commented 10 years ago

Issue by swistaczek Thursday Oct 11, 2012 at 09:22 GMT Originally opened as https://github.com/paulasmuth/fnordmetric/issues/105


After running code from readme (fullexample) I get following error:

ruby playground/fnord.rb       
playground/fnord.rb:195:in `<main>': undefined method `options=' for FnordMetric:Module (NoMethodError)

also after remove FnordMetric.options I get

/..../gems/fnordmetric-0.7.5/lib/fnordmetric/api.rb:4:in `initialize': wrong number of arguments (0 for 1) (ArgumentError)
    from playground/fnord.rb:204:in `new'
    from playground/fnord.rb:204:in `start_example_data_generator'
    from playground/fnord.rb:216:in `<main>'
bf4 commented 10 years ago

Comment by skorfmann Friday Jan 18, 2013 at 13:05 GMT


Not sure how you ran the example. But I've just tried it and it works perfectly fine. Close?

bf4 commented 10 years ago

Comment by sheerun Tuesday Oct 22, 2013 at 18:15 GMT


Yup, code is ok. At least now. This should be closed.