Open PabloMartinMoreno opened 5 months ago
same issue in arch linux. Works on debian
Yeah Same for me in Arch, tried wpsan-git as well but same error again. Also tried installation of all gems mentioned in error but no luck.
I'm also attempting this on Arch for the first time. I tried running
gem install wpscan
and noticed an error about the following folder needing to be part of my PATH or gem executables will not run:
/home/grey0ut/.local/share/gem/ruby/3.0.0/bin
After appending that to my PATH variable I am now able to run wpscan without the above error.
Edit to add: from the Arch wiki on Ruby https://wiki.archlinux.org/title/Ruby#Configuration
I face the same issue on Arch. Works fine once installed with gem install
Yeah with 'gem install wpscan' things are working good now.
I can't run wpscan; I'm getting the following error:
/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:inblock 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>'
I'm using the latest version of wpscan and ruby-json 2.7.1-1, which seems to be causing the error. I'm using Arch Linux.