I'm having issues loading a YAML file. Here is the YAML file (named
test.yml):

foo: 5
bar: some string

Here is my Ruby:

C:\noozler\trunk>ruby script/console
Loading development environment (Rails 2.0.2)
>> require 'yaml'
=> []
>> File.exists?("test.yml")
=> true
>> t = YAML::load("test.yml")
=> "test.yml"
>> t['bar']
=> nil
>>

I would expect t['bar'] to show: "some string".

Any ideas?
-- 
Posted via http://www.ruby-forum.com/.