# Exerb4.2.0 don't work with ruby1.8.7 and yaml

**URL:** <https://www.ruby-forum.com/t/exerb4-2-0-dont-work-with-ruby1-8-7-and-yaml/141866>\
**Category:** Ruby\
**Created:** [July 1, 2008, 8:52am UTC](https://www.ruby-forum.com/t/exerb4-2-0-dont-work-with-ruby1-8-7-and-yaml/141866 "2008-07-01T08:52:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![phoenix520](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/6f9a4e/32.png) [@phoenix520](https://www.ruby-forum.com/u/phoenix520)\
**Post date:** [July 1, 2008, 8:52am UTC](https://www.ruby-forum.com/t/exerb4-2-0-dont-work-with-ruby1-8-7-and-yaml/141866/1 "2008-07-01T08:52:01Z")

</div>

There is my test.rb:  
require ‘yaml’  
config = YAML::load(File.open(“config.yml”))

and there is my config.yml:  
topic: forum-39-thread-11173510-1-1

“mkexy test.rb” and “exerb test.exy” can execute all right and generate  
test.exe,  
but when I execute test.exe,it raise an error:  
yaml.rb:9:in `require’: Win32API Error #127  
(ExerbRuntime::Error)  
from yaml.rb:9  
How can I fix it?Any help will be appreciated!
