# Allocator undefined for Bignum

**URL:** <https://www.ruby-forum.com/t/allocator-undefined-for-bignum/64636>\
**Category:** Ruby\
**Created:** [August 15, 2006, 2:12pm UTC](https://www.ruby-forum.com/t/allocator-undefined-for-bignum/64636 "2006-08-15T14:12:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![unknown](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/u/4bbf92/32.png) [@unknown](https://www.ruby-forum.com/u/unknown)\
**Post date:** [August 15, 2006, 2:12pm UTC](https://www.ruby-forum.com/t/allocator-undefined-for-bignum/64636/1 "2006-08-15T14:12:06Z")

</div>

in a yaml file i do have “Time.new.to\_i” and get the following error for  
those fields :

TypeError: allocator undefined for Bignum  
method transfer  
in yaml.rb at line 133  
method load  
in yaml.rb at line 133  
at top level  
in org.ytho.MacSOUPSwitcherWatch-0.3.rb at line 86

on MacOS X (latest) using ruby 1.8.4, the line 86 of my code being  
simply :

@prefs=YAML::load(File.open(@h[‘PREFS\_FILE’]))

(reading back my prefs ssaved as a yaml file)
