Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.ruby > #4468
| From | Brian Candler <b.candler@pobox.com> |
|---|---|
| Newsgroups | comp.lang.ruby |
| Subject | Re: Digest::Base problem |
| Date | 2011-05-13 03:17 -0500 |
| Organization | Service de news de lacave.net |
| Message-ID | <8a4bfe3b706c6ee624e806adf127beba@ruby-forum.com> (permalink) |
| References | <c5e6bb4c0827e040374c5f9747b50b73@ruby-forum.com> |
Just one thing to check: you don't happen to have a file called "digest.rb" lying around in the current directory? It's tempting when writing a test program to exercise the digest library to call it "digest.rb". But then "require 'digest'" will fail because it will load the wrong file :-) One way to diagnose this is to find digest.so on your system (e.g. "locate digest.so") and then require it with a full path: e.g. irb(main):001:0> require '/usr/lib/ruby/1.8/x86_64-linux/digest.so' => true irb(main):002:0> Digest::Base => Digest::Base -- Posted via http://www.ruby-forum.com/.
Back to comp.lang.ruby | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Digest::Base problem Martin Hansen <mail@maasha.dk> - 2011-05-12 05:59 -0500
Re: Digest::Base problem Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-05-12 06:29 -0500
Re: Digest::Base problem Martin Hansen <mail@maasha.dk> - 2011-05-12 06:55 -0500
Re: Digest::Base problem Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-05-12 07:14 -0500
Re: Digest::Base problem Martin Hansen <mail@maasha.dk> - 2011-05-12 07:45 -0500
Re: Digest::Base problem Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-05-12 07:53 -0500
Re: Digest::Base problem Martin Hansen <mail@maasha.dk> - 2011-05-12 08:02 -0500
Re: Digest::Base problem Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-05-12 08:25 -0500
Re: Digest::Base problem Martin Hansen <mail@maasha.dk> - 2011-05-12 08:36 -0500
Re: Digest::Base problem Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-05-12 08:43 -0500
Re: Digest::Base problem Martin Hansen <mail@maasha.dk> - 2011-05-12 08:57 -0500
Re: Digest::Base problem brabuhr@gmail.com - 2011-05-12 08:07 -0500
Re: Digest::Base problem Martin Hansen <mail@maasha.dk> - 2011-05-12 08:22 -0500
Re: Digest::Base problem brabuhr@gmail.com - 2011-05-12 09:15 -0500
Re: Digest::Base problem brabuhr@gmail.com - 2011-05-12 09:26 -0500
Re: Digest::Base problem Martin Hansen <mail@maasha.dk> - 2011-05-12 09:39 -0500
Re: Digest::Base problem Phillip Gawlowski <cmdjackryan@googlemail.com> - 2011-05-12 09:52 -0500
Re: Digest::Base problem Linda Metcalfe <lmetcalfe@connextions.com> - 2011-05-12 10:06 -0500
Re: Digest::Base problem Martin Hansen <mail@maasha.dk> - 2011-05-12 10:19 -0500
Re: Digest::Base problem brabuhr@gmail.com - 2011-05-12 10:58 -0500
Re: Digest::Base problem Brian Candler <b.candler@pobox.com> - 2011-05-13 03:17 -0500
Re: Digest::Base problem Martin Hansen <mail@maasha.dk> - 2011-05-13 06:23 -0500
Re: Digest::Base problem Martin Hansen <mail@maasha.dk> - 2011-05-13 06:52 -0500
csiph-web