pstore使ってると頻繁に marshal data too short ってエラーが出るんだけど、
どうしたらいいの?
試しにやってみたらすぐ出た

require 'pstore'
db = PStore.new("test.db")
1000.times {|i|
  db.transaction do
    p num = db['num'] || 0
    db['num'] = num + i
  end
}

########################################
0
0
1
3
6
10
15
D:/ruby/lib/ruby/1.8/pstore.rb:353:in `load': marshal data too short (ArgumentEr
ror)