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

Ruby 3.2.0 - LoadError: cannot load such file -- rbsecp256k1/rbsecp256k1 #61

Closed
schinery opened this issue Dec 30, 2022 · 7 comments
Closed

Comments

@schinery
Copy link

In the process of upgrading an app to Ruby 3.2.0 and am getting this error on the CI for code that previously worked in Ruby 3.1.3.

rails aborted!
LoadError: cannot load such file -- rbsecp256k1/rbsecp256k1
/home/circleci/my-app/vendor/bundle/ruby/3.2.0/gems/bootsnap-1.15.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:29:in `require'
/home/circleci/my-app/vendor/bundle/ruby/3.2.0/gems/rbsecp256k1-5.1.0/lib/rbsecp256k1.rb:10:in `<main>'

Looking in to lib/rbsecp256k1.rb it has require 'rbsecp256k1/rbsecp256k1' but there is no file there of that name, just a folder, so can this be removed?

@schinery
Copy link
Author

Had a go at removing it in #62

@etscrivner
Copy link
Owner

@schinery Going to do some local debugging against Ruby 3.2.0 and see if I can find the source of the issue.

@schinery
Copy link
Author

@etscrivner am also wondering if this issue is more bundler related too, which got bumped to 2.4.1 🤷🏻‍♂️

@etscrivner
Copy link
Owner

@schinery I'm going to do a full dependency update here including bundler.

@etscrivner
Copy link
Owner

@schinery This has been fixed in #66 and a new version (v5.1.1) has been pushed to rubygems.org. Please let me know if this fixes your issue.

@schinery
Copy link
Author

@etscrivner will check tomorrow and let you know 👍🏻

@schinery
Copy link
Author

@etscrivner all is good, am no longer getting the error with the 5.1.1 release.

Thanks for prompt fix 🙏🏻

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