Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
1N3 opened this issue May 10, 2018 · 18 comments
Closed

Comments

@1N3
Copy link

1N3 commented May 10, 2018

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
Copy link
Owner

0xsauby commented May 10, 2018

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

@1N3
Copy link
Author

1N3 commented May 11, 2018

Awesome, thanks! That worked.

@1N3 1N3 closed this as completed May 11, 2018
@xnurexm
Copy link

xnurexm commented Oct 26, 2018

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:in require'
/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
Copy link
Owner

0xsauby commented Oct 29, 2018

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

@xnurexm
Copy link

xnurexm commented Oct 29, 2018

I tried to install it on ubuntu 14.04 [cloud9]

@0xsauby
Copy link
Owner

0xsauby commented Oct 29, 2018

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
Copy link

dz3nan commented Nov 30, 2018

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 -- ubygems (LoadError)

Hello this is my problem, can you help me?

@0xsauby
Copy link
Owner

0xsauby commented Nov 30, 2018

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
Copy link

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
Copy link

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:in require': cannot load such file -- watir (LoadError)

any thought please help?

@imdoey
Copy link

imdoey commented Aug 15, 2019

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:in require': cannot load such file -- watir (LoadError)

any thought please help?

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

@0xsauby
Copy link
Owner

0xsauby commented Aug 16, 2019

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

@Keulsss
Copy link

Keulsss commented Nov 2, 2019

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

@akarsh70177
Copy link

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:in require'
/usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require': cannot load such file -- colorize (LoadError)

@cybernaima
Copy link

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
Copy link

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
Copy link

danicunhac commented Jul 6, 2022

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests