Application crashes at launch

Description:

Running wpscan results in an instant crash. Doesn't matter what arguments you give it.

Additional info:

  • package version(s): 1:3.8.25-1
  • config and/or log files:
  • link to upstream bug report, if any: N/A

Steps to reproduce:

  1. Open terminal
  2. run wpscan or wpscan --help
  3. observe crash:
/opt/wpscan/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.6/lib/active_support/core_ext/object/json.rb:4:in `require': cannot load such file -- json (LoadError)
	from /opt/wpscan/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.6/lib/active_support/core_ext/object/json.rb:4:in `<top (required)>'
	from /opt/wpscan/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.6/lib/active_support/core_ext/object.rb:13:in `require'
	from /opt/wpscan/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.6/lib/active_support/core_ext/object.rb:13:in `<top (required)>'
	from /opt/wpscan/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.6/lib/active_support/core_ext.rb:4:in `require'
	from /opt/wpscan/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.6/lib/active_support/core_ext.rb:4:in `block in <top (required)>'
	from /opt/wpscan/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.6/lib/active_support/core_ext.rb:3:in `each'
	from /opt/wpscan/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.6/lib/active_support/core_ext.rb:3:in `<top (required)>'
	from /opt/wpscan/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.6/lib/active_support/all.rb:5:in `require'
	from /opt/wpscan/vendor/bundle/ruby/3.0.0/gems/activesupport-6.1.7.6/lib/active_support/all.rb:5:in `<top (required)>'
	from /opt/wpscan/lib/wpscan.rb:7:in `require'
	from /opt/wpscan/lib/wpscan.rb:7:in `<top (required)>'
	from /opt/wpscan/bin/wpscan:4:in `require'
	from /opt/wpscan/bin/wpscan:4:in `<main>'

Have tried this with two separate machines after running pacman -Syu. Ruby-json is installed (version 2.7.1-1). Downgrading to ruby-json 2.6.3-1 fixes the issue

Edited by CountMurphy