Undefined method `xml_in' for XmlSimple:Class (NoMethodError

Dear Friends,

I would like to upload my files to AWS:S3.

I have created a application like,

require ‘rubygems’
require ‘ftools’
require ‘aws/s3’
require ‘activerecord’

class Upload < ActiveRecord::Base
#--------------------------------
include AWS::S3

connection = AWS::S3::Base.establish_connection!(
:access_key_id => ‘123’,
:secret_access_key => ‘123’
)

Bucket.create(‘jukebox’)

music_bucket = Bucket.find(‘jukebox’)

end

Iam receiving the below error while creating buckets, like

c:/ruby/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/parsing.rb:64:in
parse': undefined methodxml_in’ for XmlSimple:Class (NoMethodError)
from
c:/ruby/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/parsing.rb:55:in
initialize' from c:/ruby/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/response.rb:55:innew’
from
c:/ruby/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/response.rb:55:in
unmemoized_parsed_1274248721' from c:/ruby/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/extensions.rb:177:insend’
from
c:/ruby/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/extensions.rb:177:in
parsed' from c:/ruby/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/extensions.rb:146:inexpirable_memoize’
from
c:/ruby/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/extensions.rb:176:in
parsed' from c:/ruby/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/response.rb:45:inerror?’
from
c:/ruby/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/base.rb:72:in
request' from c:/ruby/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/base.rb:88:input’
from
c:/ruby/lib/ruby/gems/1.8/gems/aws-s3-0.6.2/lib/aws/s3/bucket.rb:79:in
`create’
from awstesting.rb:16

Could any one suggest on the above issue?

Thanks in advance

Regards,
Jose