Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.ruby > #6846

Re: Digest::SHA256.hexdigest failing with the digest/sha1

Newsgroups comp.lang.ruby
Date 2013-06-25 02:47 -0700
References <c2f0085d-848b-4ed7-a711-f1c8013fa424@googlegroups.com>
Message-ID <b07e8048-226b-4db8-977f-a3e577cf1a8c@googlegroups.com> (permalink)
Subject Re: Digest::SHA256.hexdigest failing with the digest/sha1
From Robert Klemme <shortcutter@googlemail.com>

Show all headers | View raw


On Tuesday, June 25, 2013 9:53:53 AM UTC+2, Alexander Grushin wrote:

> a have a program which is used Digest::SHA256.hexdigest, but it is failing on a few machines with 'Illegal instruction' error:

It may be related to the fact that your version is ancient:

> $ ruby -v
> ruby 1.8.7 (2012-10-12 patchlevel 371) [x86_64-linux]

http://www.ruby-lang.org/en/news/2011/10/06/plans-for-1-8-7/

> Perhaps something wrong with packages, but I'm not sure how to find the root cause.

I would start by ensuring that all packages are current on the system.  Hopefully nobody has messed with package repositories on that box.  I guess then all bets are off...

Kind regards

robert

Back to comp.lang.ruby | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Digest::SHA256.hexdigest failing with the digest/sha1 a.grushin@gmail.com - 2013-06-25 00:53 -0700
  Re: Digest::SHA256.hexdigest failing with the digest/sha1 Robert Klemme <shortcutter@googlemail.com> - 2013-06-25 02:47 -0700
    Re: Digest::SHA256.hexdigest failing with the digest/sha1 Julian Cromarty <julian.cromarty@gmail.com> - 2013-06-26 04:12 +0100

csiph-web