Greetings,
I am trying to emulate what's on page 21 of the book, but I can't even get there. Maybe the code in AWS.rb is incompatible with the version of ruby I am using (ruby-1.9.1-p129)? Here's what the capture of my screen:
[tsakai@vixen ruby]$ irb
irb(main):001:0> require 'AWS'
SyntaxError: /home/tsakai/Notes/ec2/PAWS/PAWS_examples/ruby/AWS.rb:203: syntax error, unexpected ',', expecting tASSOC
...ww-form-urlencoded',{'charset', 'utf-8'})
... ^
/home/tsakai/Notes/ec2/PAWS/PAWS_examples/ruby/AWS.rb:203: syntax error, unexpected '}', expecting keyword_end
...rlencoded',{'charset', 'utf-8'})
... ^
/home/tsakai/Notes/ec2/PAWS/PAWS_examples/ruby/AWS.rb:474: syntax error, unexpected keyword_end, expecting $end
from (irb):1:in `require'
from (irb):1
from /usr/local/bin/irb:12:in `<main>'
irb(main):002:0> [tsakai@vixen ruby]$
[tsakai@vixen ruby]$
Regards,
Tena Sakai












