Skip to content

origen test fails is user specifies where to install gems #261

@info-rchitect

Description

@info-rchitect
  7) Origen.site_config Site config install directories with ENV variables set with ORIGEN_GEM_INSTALL_DIR set uses the value in ORIGEN_GEM_INSTALL_DIR instead of :gem_install_dir
     Failure/Error: expect(Origen.site_config.user_gem_dir).to eql("/env/gem/.origen/gems")
     
       expected: "/env/gem/.origen/gems"
            got: "/users/user/origen/.origen/gems"
     
       (compared using eql?)
     # ./spec/site_config_spec.rb:243:in `block (4 levels) in <top (required)>'
     # ./config/commands.rb:42:in `<top (required)>'
     # ./lib/origen/commands.rb:185:in `require'
     # ./lib/origen/commands.rb:185:in `<top (required)>'

When travis runs the same build it passes.

Metadata

Metadata

Assignees

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