Skip to content

Installing daru on a fresh system #214

Description

@lokeshh

There are couple of problems faced after installing Daru on a new computer.

  • It produces some NameError.
NameError: uninitialized constant Daru::Accessors::ArrayWrapper::Forwardable

The above error goes away on installing reportbuilder gem

  • Second is this one:
2.3.0 :002 > dv = Daru::Vector.new [1, 2, 3]
 => #<Daru::Vector(3)>
   0   1
   1   2
   2   3 
2.3.0 :003 > dv.to_s
NameError: uninitialized constant Daru::Vector::ERB

This one is the cause of build failure in Statsample here.

It goes away after one do require 'erb'.

The issue can be reproduced doing the following:

  1. rvm remove 2.3.0
  2. rvm install 2.3.0
  3. gem install daru
  4. require 'daru'

Here are all error messages in detail.
Can we include a test in Travis CI to check for such things in future?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions