Topic: 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 method `xml_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:in `new'
    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:in `send'
    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:in `expirable_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:in `error?'
    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:in `put'
    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