From: Austin Ziegler Date: 2003-10-08T23:59:22+09:00 Subject: Re: [ANN] fox-tool - interactive gui builder for fxruby On Tue, 7 Oct 2003 15:24:17 +0900, eg wrote: > Austin Ziegler wrote: >> ruby -e 'Digest::MD5.new(File.read("")).hexdigest' >> Replace as appropriate. > A newbie question a bit off topic, but when I do this on Windows XP > (using Ruby 1.80-10) I get the following error message; > > -e:1: uninitialized constant Digest (NameError) Uh, no. This is because I typed the line wrong: ruby -r digest/md5 -e 'puts Digest::MD5.new("Hello").hexdigest' 8b1a9953c4611296a827abf8c47804d7 -austin -- austin ziegler * austin@halostatue.ca * Toronto, ON, Canada software designer * pragmatic programmer * 2003.10.07 * 11.28.24