0xsauby / yasuo

A ruby script that scans for vulnerable & exploitable 3rd-party web applications on a network
GNU General Public License v3.0
569 stars 139 forks source link

kernel_require.rb:59:in `require': cannot load such file -- text-table (LoadError) #33

Closed 1N3 closed 6 years ago

1N3 commented 6 years ago

Started receiving this error recently even though yasuo was working fine for the longest time:

./yasuo.rb                                                                                                                                                                                    127 ↵ ──(Thu,May10)─┘
Traceback (most recent call last):
    2: from ./yasuo.rb:29:in `<main>'
    1: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require'
/usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in `require': cannot load such file -- text-table (LoadError)

Any ideas? Tried rebuilding and reinstalling the gems but no luck.

0xsauby commented 6 years ago

Looks like you're missing the text-table gem. "gem install text-table" should fix it.

1N3 commented 6 years ago

Awesome, thanks! That worked.

xnurexm commented 6 years ago

you can help me bro... this my problem

Traceback (most recent call last): 2: from wpscan.rb:16:in <main>' 1: from /usr/local/rvm/rubies/ruby-2.5.3/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:122:inrequire' /usr/local/rvm/rubies/ruby-2.5.3/lib/ruby/site_ruby/2.5.0/rubygems/core_ext/kernel_require.rb:122:in `require': cannot load such file -- wpscan/helper (LoadError)

0xsauby commented 6 years ago

This error is thrown by Yasuo? Can you tell me a little bit more about what you're to do?

xnurexm commented 6 years ago

I tried to install it on ubuntu 14.04 [cloud9]

0xsauby commented 6 years ago

Can you try the following and let me know if it works: sudo apt-get install zlib1g-dev libsqlite3-dev bundle install --path vendor --gemfile ./Gemfile

dz3nan commented 6 years ago

1: from /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:in require' /usr/lib/ruby/2.5.0/rubygems/core_ext/kernel_require.rb:59:inrequire': cannot load such file -- ubygems (LoadError)

Hello this is my problem, can you help me?

0xsauby commented 6 years ago

Have you already performed the following steps and installed all required gems: sudo apt-get install zlib1g-dev libsqlite3-dev bundle install --path vendor --gemfile ./Gemfile

psemehen commented 5 years ago

Have you already performed the following steps and installed all required gems: sudo apt-get install zlib1g-dev libsqlite3-dev bundle install --path vendor --gemfile ./Gemfile

Hello, I have a ruby script, if I run it from command line it works, but when I configure cron task for running it automatically it doesn't work and I get the same error message. It's strange for me. Have you struggled with smth like this? Thanks

Jupitergit101 commented 5 years ago

i have mac but i receive the error

1: from /Users/mubasharhassan/.rubies/ruby-2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require' /Users/mubasharhassan/.rubies/ruby-2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:inrequire': cannot load such file -- watir (LoadError)

any thought please help?

imdoey commented 5 years ago

i have mac but i receive the error

1: from /Users/mubasharhassan/.rubies/ruby-2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in require' /Users/mubasharhassan/.rubies/ruby-2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:inrequire': cannot load such file -- watir (LoadError)

any thought please help?

I'm having the exact same problem. Have you figured it out?

0xsauby commented 5 years ago

@Jupitergit101 @imdoey I have not tested Yasuo on Mac osx. Please use Kali Linux if possible.

Keulsss commented 5 years ago

i've same problem when i run heroku run rails db:migrate

akarsh70177 commented 4 years ago

Started receiving this error recently

Traceback (most recent call last): 2: from apk-embed-payload.rb:9:in <main>' 1: from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:inrequire' /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require': cannot load such file -- colorize (LoadError)

cybernaima commented 3 years ago

Hey sorry to re-open this issue but I am also having the same problem as original poster. I've tried the suggestion given and its still not working for me

image

Prithivi-Raj commented 2 years ago

I am trying to run require command to implement the usage of a module, I'm not able to do it tho! Getting the same error

danicunhac commented 2 years ago

Hi, I had quite the same error but it was regarding spaceship instead of text-table. By following the log files I discovered that I was missing a ruby config.h file inside usr/include. Basically I had to create a link from config.h inside Headers to the same folder inside usr/include.

cd /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX11.1.sdk/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/include/ruby-2.6.0/ruby
ln -sf ../../../../Headers/ruby/config.h

I followed this answer on Stackoverflow: https://stackoverflow.com/questions/53135863/macos-mojave-ruby-config-h-file-not-found/65481787#65481787

Note that it says it's for macOS Mojave, but this happened to me on Monterey

Ismailsarhir commented 2 years ago

Started receiving this error when i run the commande compass watch !!

LoadError on line ["92"] of /usr/local/lib/site_ruby/2.7.0/rubygems/core_ext/kernel_require.rb: cannot load such file -- bootstrap-sass Run with --trace to see the full backtrace