I’m trying to follow through with the Book Shelf app that’s in the
‘Ruby on Rails Bible’ book and I’m at a point where I’m trying to
install Ruby/Amazon. I downloaded the Ruby/Amazon and extracted it as
instructed. Now I’m at the step where I need to drop into a Ruby
console to verify the Ruby/Amazon installation.
In the console I typed :
require ‘amazon/aws/search’
RuntimeError: Unsupported digest algorithm (sha256).
from /Users/kevin/dev/Ruby/book_shelf/lib/amazon/aws/search.rb:34:in
initialize' from /Users/kevin/dev/Ruby/book_shelf/lib/amazon/aws/search.rb:34:in
new’
from /Users/kevin/dev/Ruby/book_shelf/lib/amazon/aws/search.rb:34
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
gem_original_require' from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:31:in
require’
from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:156:inrequire' from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.2/lib/ active_support/dependencies.rb:521:in
new_constants_in’
from /Library/Ruby/Gems/1.8/gems/activesupport-2.3.2/lib/
active_support/dependencies.rb:156:in `require’
from (irb):1
I’m too much of Ruby n00b to know what that error means or how to
resolve it. Any suggestions? It probably has something to do with the
fact that I’m using different versions of Ruby, rails, gems, Ruby/
Amazon since that book was written in '08 (likely '07).
Ruby