danger-checkstyle_format icon indicating copy to clipboard operation
danger-checkstyle_format copied to clipboard

Error with Ruby 3.2.0: cannot load such file -- ox/ox

Open irgaly opened this issue 1 year ago • 0 comments

Ruby 3.2.0 Danger 9.3.1 danger-checkstyle_format 0.1.1


Error:

There is an error when running Danger + danger-checkstyle_format.

bundler: failed to load command: danger (/home/runner/work/.../vendor/bundle/ruby/3.2.0/bin/danger)
/home/runner/work/.../vendor/bundle/ruby/3.2.0/gems/ox-2.14.1/lib/ox.rb:79:in `require':  (Danger::DSLError)
[!] Invalid `Dangerfile` file: cannot load such file -- ox/ox
 #  from Dangerfile:[8](...#step:9:9)
 #  -------------------------------------------
 #  Dir["..."].each do |file|
 >    checkstyle_format.report file
 #  end
 #  -------------------------------------------

	from /home/runner/work/.../vendor/bundle/ruby/3.2.0/gems/ox-2.14.1/lib/ox.rb:7[9](...:9:10):in `<top (required)>'
	from /home/runner/work/.../vendor/bundle/ruby/3.2.0/gems/danger-checkstyle_format-0.1.1/lib/checkstyle_format/plugin.rb:49:in `require'
	from /home/runner/work/.../vendor/bundle/ruby/3.2.0/gems/danger-checkstyle_format-0.1.1/lib/checkstyle_format/plugin.rb:49:in `parse'
	from /home/runner/work/.../vendor/bundle/ruby/3.2.0/gems/danger-checkstyle_format-0.1.1/lib/checkstyle_format/plugin.rb:31:in `report'
	from Dangerfile:8:in `block in eval_file'
	from Dangerfile:7:in `each'
	from Dangerfile:7:in `eval_file'
...

irgaly avatar Jul 21 '23 12:07 irgaly