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

undefined method #81

Closed
Abo5 opened this issue Sep 21, 2023 · 3 comments · Fixed by #84
Closed

undefined method #81

Abo5 opened this issue Sep 21, 2023 · 3 comments · Fixed by #84
Assignees

Comments

@Abo5
Copy link

Abo5 commented Sep 21, 2023

/Users/qppn/.rvm/gems/ruby-3.2.2/gems/shodanz-2.0.6/lib/shodanz.rb:12:in <top (required)>': undefined method logger' for Async:Module (NoMethodError)

Async.logger.level = 4
^^^^^^^
from internal:/Users/qppn/.rvm/rubies/ruby-3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb:160:in require' from <internal:/Users/qppn/.rvm/rubies/ruby-3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:160:in rescue in require'
from internal:/Users/qppn/.rvm/rubies/ruby-3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb:40:in require' from /Users/qppn/Desktop/Projects/shodan.rb:1:in

'
internal:/Users/qppn/.rvm/rubies/ruby-3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb:86:in require': cannot load such file -- shodanz (LoadError) from <internal:/Users/qppn/.rvm/rubies/ruby-3.2.2/lib/ruby/site_ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:86:in require'
from /Users/qppn/Desktop/Projects/shodan.rb:1:in `'

@ioquatix
Copy link
Collaborator

Async.logger should be replaced by Console.logger.

@picatz
Copy link
Owner

picatz commented Oct 30, 2023

👋 Hello @Abo5, thank you for reporting this issue! I will take a look at this issue later this week.

❤️ Thank you for the tip @ioquatix!

@picatz picatz self-assigned this Oct 30, 2023
@picatz picatz mentioned this issue Nov 5, 2023
@picatz picatz closed this as completed in #84 Nov 5, 2023
@picatz
Copy link
Owner

picatz commented Nov 5, 2023

Should be fixed with v2.0.7, but please let me know if that doesn't resolve the problem. 😄

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

Successfully merging a pull request may close this issue.

3 participants