Skip to content

'cannot load such file -- cucumber/formatter/hook_query_visitor' getting for reportal portal #90

Description

@radhakrishnanakireddy

Hi,
I am facing 'cannot load such file -- cucumber/formatter/hook_query_visitor' error while trying to use agent-ruby.

cannot load such file -- cucumber/formatter/hook_query_visitor
Error creating formatter: ReportPortal::Cucumber::Formatter (LoadError)
C:/Ruby26/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require' C:/Ruby26/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/reportportal-0.7/lib/report_portal/cucumber/report.rb:20:in <top (required)>' C:/Ruby26/lib/ruby/gems/2.6.0/gems/reportportal-0.7/lib/report_portal/cucumber/formatter.rb:21:in require_relative'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/reportportal-0.7/lib/report_portal/cucumber/formatter.rb:21:in <top (required)>' C:/Ruby26/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require'
C:/Ruby26/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require' C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/constantize.rb:19:in rescue in constantize'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/constantize.rb:8:in constantize' C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/configuration.rb:215:in formatter_class'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/configuration.rb:201:in block in formatter_factories' C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/configuration.rb:199:in map'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/configuration.rb:199:in formatter_factories' C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/runtime.rb:187:in formatters'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/runtime.rb:172:in report' C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/runtime.rb:76:in run!'
C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/lib/cucumber/cli/main.rb:29:in execute!' C:/Ruby26/lib/ruby/gems/2.6.0/gems/cucumber-4.1.0/bin/cucumber:9:in <top (required)>'
C:/Ruby26/bin/cucumber:23:in load' C:/Ruby26/bin/cucumber:23:in

'

environment details
ruby -2.6
latest reprotportal with docker.

Please help me with it to resolve

Thank you

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