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

NameError: method `call' not defined in Faraday::Adapter::Typhoeus #709

Open
tsogbadrakh-ch opened this issue Dec 13, 2022 · 3 comments
Open

Comments

@tsogbadrakh-ch
Copy link

Error details

pry(main)> require 'typhoeus/adapters/faraday'
NameError: method `call' not defined in Faraday::Adapter::Typhoeus

      remove_method :call              if method_defined? :call
      ^^^^^^^^^^^^^
from /<USER PATH>/.rbenv/versions/3.1.2/lib/ruby/gems/3.1.0/gems/typhoeus-1.4.0/lib/typhoeus/adapters/faraday.rb:28:in `remove_method'
@olleolleolle
Copy link
Contributor

@tsogbadrakh-ch To improve the chances for this error report, can you say which version of Faraday you used to get this error?

Perhaps as a minimal running code example? Inspiration: https://bundler.io/guides/bundler_in_a_single_file_ruby_script.html

@tsogbadrakh-ch
Copy link
Author

@olleolleolle I just find out this error comes out when we don’t have https://github.com/typhoeus/faraday-typhoeus gem.
And I could not find proper documentation about this. Maybe it might be better to mention this in the README.

@olleolleolle
Copy link
Contributor

For anyone looking at this, the RubyGems.org-hosted gem with that name is located at https://github.com/dleavitt/faraday-typhoeus.

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

2 participants