0
バケツを削除するためにTypeErrorが表示される理由がわかりません。以下は、私はルビーのコンソールに入力されたコマンドです:AWS/S3バケットを削除しているときに型エラーが発生しました
AWS :: S3 :: Bucket.delete( 'my_bucket'、:力=>真)
、私はエラーのこの束を得ました:
TypeError: can't convert Time into String from /Users/Kinglee/.rvm/gems/[email protected]/gems/aws-s3-0.6.2/lib/aws/s3/object.rb:300:in `join' from /Users/Kinglee/.rvm/gems/[email protected]/gems/aws-s3-0.6.2/lib/aws/s3/object.rb:300:in `path!' from /Users/Kinglee/.rvm/gems/[email protected]/gems/aws-s3-0.6.2/lib/aws/s3/object.rb:223:in `delete' from /Users/Kinglee/.rvm/gems/[email protected]/gems/aws-s3-0.6.2/lib/aws/s3/object.rb:547:in `delete' from /Users/Kinglee/.rvm/gems/[email protected]/gems/aws-s3-0.6.2/lib/aws/s3/bucket.rb:275:in `block in delete_all' from /Users/Kinglee/.rvm/gems/[email protected]/gems/aws-s3-0.6.2/lib/aws/s3/bucket.rb:253:in `each' from /Users/Kinglee/.rvm/gems/[email protected]/gems/aws-s3-0.6.2/lib/aws/s3/bucket.rb:253:in `each' from /Users/Kinglee/.rvm/gems/[email protected]/gems/aws-s3-0.6.2/lib/aws/s3/bucket.rb:274:in `delete_all' from /Users/Kinglee/.rvm/gems/[email protected]/gems/aws-s3-0.6.2/lib/aws/s3/bucket.rb:160:in `delete' from (irb):19 from /Users/Kinglee/.rvm/rubies/ruby-1.9.2-p180/bin/irb:16:in `'
助けてください、ありがとう!