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

open-uri lazy load not working - NoMethodError open for URI:Module #356

Open
Annih opened this issue Apr 8, 2021 · 1 comment
Open

open-uri lazy load not working - NoMethodError open for URI:Module #356

Annih opened this issue Apr 8, 2021 · 1 comment

Comments

@Annih
Copy link
Contributor

Annih commented Apr 8, 2021

Following release of fauxhai-ng version 9.0.0 our CI started to fail when trying to fallback on github fetch!

Here is the error:

NoMethodError: private method `open' called for URI:Module> with backtrace:
  # ./bundle/ruby/2.4.0/gems/fauxhai-ng-9.0.0/lib/fauxhai/mocker.rb:50:in `block in data'

I think it is linked to #353 which use a "generic" lazy loading pattern, not working for the open-uri gem which is not declaring any OpenURI module :)

I'm going to submit a PR for that.

@Annih
Copy link
Contributor Author

Annih commented Apr 8, 2021

My bad there is an OpenURI module... so the issue is somewhere else.
Maybe our old ruby version is not helping :)

If there is no other occurence of this issue, feel free to close as anyway the "github fetch fallback" won't work due to our use of outdated platform version :)

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

1 participant