Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

RuntimeError: Digest::Base cannot be directly inherited in Ruby #43

Closed
karlfreeman opened this issue Feb 4, 2014 · 6 comments
Closed

Comments

@karlfreeman
Copy link

Have been seeing this exception pop up occasionally within Sidekiq running Ruby 2.0. Giving it a quick google it appears to be a very unheard off error.

@trevorrowe
Copy link
Contributor

Thats really curious. The SDK does not attempt to inherit anything. The raised line is:

 digest = Digest::SHA256.new

Have you raised this issue with Sidekiq?

@karlfreeman
Copy link
Author

I haven't yet. I'm half tempted to look at trying to figure out how this exception even happens by going straight to the source and working backwards as I'm not sure its aws-sdk-core-ruby or sidekiq related.

Glad you think its as curious as I do.

@nathanpalmer
Copy link

We have run into this issue about 3 different times running background Sidekiq jobs (we aren't using aws-sdk-core-ruby.) Same line of code causes the issue

sha256 = Digest::SHA256.new

It's very rare though and don't see an obvious "fix."

@trevorrowe
Copy link
Contributor

I'm going to close this issue for now. There is nothing that can be done to address this from the aws-sdk-core gem. Please feel free to update the issue if any of you come up with more information on the root cause.

@knu
Copy link

knu commented Apr 15, 2014

Could you give a ruby -v output? (I'm the author/maintainer of the Digest module.)

@nathanpalmer
Copy link

@knu -- This is our -v. It's 353 everywhere, in dev it's on a mac but production it's linux.

ruby 2.0.0p353 (2013-11-22 revision 43784) [x86_64-darwin13.0.0]

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

No branches or pull requests

4 participants