From: Brian Candler Newsgroups: comp.lang.ruby Subject: Re: Digest::Base problem Date: Fri, 13 May 2011 03:17:23 -0500 Organization: Service de news de lacave.net Lines: 18 Message-ID: <8a4bfe3b706c6ee624e806adf127beba@ruby-forum.com> References: NNTP-Posting-Host: bristol.highgroove.com Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: talisker.lacave.net 1305274691 90602 65.111.164.187 (13 May 2011 08:18:11 GMT) X-Complaints-To: abuse@lacave.net NNTP-Posting-Date: Fri, 13 May 2011 08:18:11 +0000 (UTC) In-Reply-To: X-Received-From: This message has been automatically forwarded from the ruby-talk mailing list by a gateway at comp.lang.ruby. If it is SPAM, it did not originate at comp.lang.ruby. Please report the original sender, and not us. Thanks! For more details about this gateway, please visit: http://blog.grayproductions.net/categories/the_gateway X-Mail-Count: 383188 X-Ml-Name: ruby-talk X-Rubymirror: Yes X-Ruby-Talk: <8a4bfe3b706c6ee624e806adf127beba@ruby-forum.com> Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.dougwise.org!feed.ac-versailles.fr!talisker.lacave.net!lacave.net!not-for-mail Xref: x330-a1.tempe.blueboxinc.net comp.lang.ruby:4468 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/.