Hey Jon, On Thu, Apr 9, 2009 at 1:40 PM, Jon Brandenburg <[email protected]> wrote: > > I'm new to ruby/shoes/right_aws, so the following question may (hopefully?) > have a simple answer. I'm using shoes2 on ubuntu (I've also tried directly > from the current build via git) and am building a small application to use > amazon web services using the right_aws library. I have the following code > in my app: > > Shoes.setup do > gem 'right_aws' > end > > require 'right_aws' > > > which causes shoes to throw the following error: > > Error in /tmp/selfgz15528/lib/shoes.rb line 394 | Thu Apr 09 11:35:02 -0600 > 2009 > ! undefined method `new' for Digest:Module. > > I'm currently using the right_aws (v1.10) / ruby (v1.8.7) library > successfully for other applications that I have written, but when I try to > integrate it into shoes it falls on its face. I've done a diff between the > digest.rb file embedded in shoes against the digest.rb file in my local ruby > library and they are identical. > > Any suggestions?
Are you calling Digest.new in your Shoes app? I don't think that's valid. Digest is a module, so you can't instantiate instances of it. Perhaps some code meant to call new on a type of digest like Digest::MD5? -- Seth Thomas Rasmussen http://greatseth.com
