Skip to content

Instantly share code, notes, and snippets.

@bakkdoor
Created October 31, 2011 23:10
Show Gist options
  • Save bakkdoor/1329353 to your computer and use it in GitHub Desktop.
Save bakkdoor/1329353 to your computer and use it in GitHub Desktop.
SHA1 error
$ rbx -e "require('sha1'); SHA1.new('foo')"
An exception occurred evaluating command line code
StackError (StackError)
Backtrace:
SHA1.orig_new (new) at projects/rubinius/lib/digest/sha1.rb:11
SHA1.orig_new (new) at projects/rubinius/lib/digest/sha1.rb:15 (7260 times)
SHA1.new at projects/rubinius/lib/sha1.rb:11
{ } in Object#__script__ at -e:1
Rubinius::BlockEnvironment#call_on_instance at kernel/common
/block_environment.rb:72
Kernel(Rubinius::Loader)#eval at kernel/common/eval.rb:73
Rubinius::Loader#evals at kernel/loader.rb:595
Rubinius::Loader#main at kernel/loader.rb:779
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment