clbustos / distribution

Statistical Distributions multi library wrapper. Uses Ruby by default and C (statistics2/GSL) or Java extensions where available.
Other
141 stars 52 forks source link

getting a 'Normal is not a module (TypeError)' when using derailed_benchmarks gem #31

Closed dfuentes77 closed 10 months ago

dfuentes77 commented 2 years ago

when trying to run bundle exec derailed bundle:mem

/distribution-0.7.3/lib/distribution/normal/ruby.rb:2:in `<module:Distribution>': Normal is not a module (TypeError)

block at top of said file:

module Distribution
  module Normal
    module Ruby_
      class << self

I've had to add require: false to the Gem, just to get passed this and for the commands to finally work.