:IRB Bug

Discussion in 'Ruby' started by Windham, Kristopher R., Jan 19, 2008.

  1. trying to help Superfly with his NameError for YAML
    and Irb really started acting up..
    anyone able to make any sense out of this?



    irb(main):001:0> require 'yaml'
    => true
    irb(main):002:0> captions_number = YAML.load(File.open("/Users/UniX/
    ruby/arrays/captions_number.yaml"))
    => false
    irb(main):003:0>
    slog:~/ruby19/lib/ruby/1.9.0 UniX$ ~/ruby19/bin/irb
    SyntaxError: (irb):3: no .<digit> floating literal anymore; put 0
    before dot
    slog:~/ruby19/lib/ruby/1.9.0 UniX$ ~/ruby19/bin/irb
    ^
    (irb):3: syntax error, unexpected tINTEGER
    slog:~/ruby19/lib/ruby/1.9.0 UniX$ ~/ruby19/bin/irb
    ^
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `eval'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:219:in
    `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    (2 levels) in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    `signal_status'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    244:in `block (2 levels) in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `loop'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `block in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    `eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    in start'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    Maybe IRB bug!!
    irb(main):004:0> irb(main):001:0> require 'yaml'
    SyntaxError: (irb):4: syntax error, unexpected ':', expecting $end
    irb(main):001:0> require 'yaml'
    ^
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `eval'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:219:in
    `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    (2 levels) in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    `signal_status'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    244:in `block (2 levels) in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `loop'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `block in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    `eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    in start'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    Maybe IRB bug!!
    irb(main):005:0> => true
    SyntaxError: (irb):5: syntax error, unexpected tASSOC
    => true
    ^
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `eval'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:219:in
    `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    (2 levels) in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    `signal_status'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    244:in `block (2 levels) in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `loop'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `block in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    `eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    in start'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    Maybe IRB bug!!
    irb(main):006:0> irb(main):002:0> captions_number = YAML.load
    (File.open("/Users/UniX/ruby/arrays/captions_number.yaml"))
    SyntaxError: (irb):6: syntax error, unexpected ':', expecting $end
    irb(main):002:0> captions_number = YAML...
    ^
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `eval'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:219:in
    `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    (2 levels) in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    `signal_status'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    244:in `block (2 levels) in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `loop'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `block in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    `eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    in start'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    Maybe IRB bug!!
    irb(main):007:0> => false
    SyntaxError: (irb):7: syntax error, unexpected tASSOC
    => false
    ^
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `eval'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:219:in
    `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    (2 levels) in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    `signal_status'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    244:in `block (2 levels) in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `loop'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `block in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    `eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    in start'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    Maybe IRB bug!!
    irb(main):008:0> irb(main):003:0> slog:~/ruby19/lib/ruby/1.9.0 UniX$
    ~/ruby19/bin/irb
    SyntaxError: (irb):8: syntax error, unexpected ':', expecting $end
    irb(main):003:0> slog:~/ruby19/lib/ruby/1.9.0 UniX$ ~/ruby19/bin/irb
    ^
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `eval'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:219:in
    `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    (2 levels) in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    `signal_status'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    244:in `block (2 levels) in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `loop'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `block in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    `eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    in start'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    Maybe IRB bug!!
    irb(main):009:0> irb(main):001:0> require 'yaml'
    SyntaxError: (irb):9: syntax error, unexpected ':', expecting $end
    irb(main):001:0> require 'yaml'
    ^
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `eval'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:219:in
    `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    (2 levels) in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    `signal_status'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    244:in `block (2 levels) in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `loop'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `block in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    `eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    in start'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    Maybe IRB bug!!
    irb(main):010:0> => true
    SyntaxError: (irb):10: syntax error, unexpected tASSOC
    => true
    ^
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `eval'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:219:in
    `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    (2 levels) in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    `signal_status'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    244:in `block (2 levels) in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `loop'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `block in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    `eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    in start'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    Maybe IRB bug!!
    irb(main):011:0> irb(main):002:0> captions_number = YAML.load
    (File.open("/Users/UniX/ruby/arrays/captions_number.yaml"))
    SyntaxError: (irb):11: syntax error, unexpected ':', expecting $end
    irb(main):002:0> captions_number = YAML...
    ^
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `eval'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:219:in
    `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    (2 levels) in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    `signal_status'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    244:in `block (2 levels) in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `loop'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `block in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    `eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    in start'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    Maybe IRB bug!!
    irb(main):012:0> => false
    SyntaxError: (irb):12: syntax error, unexpected tASSOC
    => false
    ^
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `eval'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:219:in
    `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    (2 levels) in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    `signal_status'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    244:in `block (2 levels) in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `loop'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `block in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    `eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    in start'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    Maybe IRB bug!!
    irb(main):013:0> irb(main):003:0>
    irb(main):014:0* slog:~/ruby19/lib/ruby/1.9.0 UniX$ ~/ruby19/bin/irb
    SyntaxError: (irb):13: syntax error, unexpected ':', expecting $end
    irb(main):003:0>
    ^
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `eval'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:219:in
    `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    (2 levels) in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    `signal_status'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    244:in `block (2 levels) in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `loop'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `block in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    `eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    in start'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    Maybe IRB bug!!
    irb(main):015:0> irb(main):001:0> require 'yaml'
    SyntaxError: (irb):15: syntax error, unexpected ':', expecting $end
    irb(main):001:0> require 'yaml'
    ^
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `eval'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:219:in
    `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    (2 levels) in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    `signal_status'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    244:in `block (2 levels) in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `loop'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `block in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    `eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    in start'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    Maybe IRB bug!!
    irb(main):016:0> => true
    SyntaxError: (irb):16: syntax error, unexpected tASSOC
    => true
    ^
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `eval'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:219:in
    `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    (2 levels) in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    `signal_status'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    244:in `block (2 levels) in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `loop'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `block in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    `eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    in start'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    Maybe IRB bug!!
    irb(main):017:0> irb(main):002:0> captions_number = YAML.load
    (File.open("/Users/UniX/ruby/arrays/captions_number.yaml"))
    SyntaxError: (irb):17: syntax error, unexpected ':', expecting $end
    irb(main):002:0> captions_number = YAML...
    ^
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `eval'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:219:in
    `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    (2 levels) in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    `signal_status'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    244:in `block (2 levels) in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `loop'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `block in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    `eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    in start'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    Maybe IRB bug!!
    irb(main):018:0> => false
    SyntaxError: (irb):18: syntax error, unexpected tASSOC
    => false
    ^
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `eval'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:219:in
    `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    (2 levels) in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    `signal_status'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    244:in `block (2 levels) in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `loop'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `block in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    `eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    in start'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    Maybe IRB bug!!
    irb(main):019:0> irb(main):003:0>
    irb(main):020:0*
    irb(main):021:0* irb(main):021:0>
    irb(main):022:0* irb(main):022:0> SyntaxError: (irb):19: syntax
    error, unexpected ':', expecting $end
    irb(main):003:0>
    ^
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `eval'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    81:in `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:219:in
    `evaluate'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    (2 levels) in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    `signal_status'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    in eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    244:in `block (2 levels) in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `loop'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    231:in `block in each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    230:in `each_top_level_statement'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    `eval_input'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    in start'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    Maybe IRB bug!!
    slog:~/ruby19/lib/ruby/1.9.0 UniX$
    Windham, Kristopher R., Jan 19, 2008
    #1
    1. Advertising

  2. never mind..
    this is about the dumbest thing I have ever posted..
    I figured out what I was doing..
    don't even try to reproduce this one..

    On Jan 19, 2008, at 1:14 PM, Windham, Kristopher R. wrote:

    >
    > trying to help Superfly with his NameError for YAML
    > and Irb really started acting up..
    > anyone able to make any sense out of this?
    >
    >
    >
    > irb(main):001:0> require 'yaml'
    > => true
    > irb(main):002:0> captions_number = YAML.load(File.open("/Users/UniX/
    > ruby/arrays/captions_number.yaml"))
    > => false
    > irb(main):003:0>
    > slog:~/ruby19/lib/ruby/1.9.0 UniX$ ~/ruby19/bin/irb
    > SyntaxError: (irb):3: no .<digit> floating literal anymore; put 0
    > before dot
    > slog:~/ruby19/lib/ruby/1.9.0 UniX$ ~/ruby19/bin/irb
    > ^
    > (irb):3: syntax error, unexpected tINTEGER
    > slog:~/ruby19/lib/ruby/1.9.0 UniX$ ~/ruby19/bin/irb
    > ^
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `eval'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:
    > 219:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    > (2 levels) in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    > `signal_status'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    > in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 244:in `block (2 levels) in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `loop'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `block in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    > `eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    > in start'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    > from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    > Maybe IRB bug!!
    > irb(main):004:0> irb(main):001:0> require 'yaml'
    > SyntaxError: (irb):4: syntax error, unexpected ':', expecting $end
    > irb(main):001:0> require 'yaml'
    > ^
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `eval'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:
    > 219:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    > (2 levels) in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    > `signal_status'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    > in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 244:in `block (2 levels) in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `loop'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `block in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    > `eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    > in start'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    > from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    > Maybe IRB bug!!
    > irb(main):005:0> => true
    > SyntaxError: (irb):5: syntax error, unexpected tASSOC
    > => true
    > ^
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `eval'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:
    > 219:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    > (2 levels) in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    > `signal_status'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    > in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 244:in `block (2 levels) in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `loop'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `block in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    > `eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    > in start'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    > from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    > Maybe IRB bug!!
    > irb(main):006:0> irb(main):002:0> captions_number = YAML.load
    > (File.open("/Users/UniX/ruby/arrays/captions_number.yaml"))
    > SyntaxError: (irb):6: syntax error, unexpected ':', expecting $end
    > irb(main):002:0> captions_number = YAML...
    > ^
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `eval'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:
    > 219:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    > (2 levels) in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    > `signal_status'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    > in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 244:in `block (2 levels) in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `loop'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `block in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    > `eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    > in start'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    > from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    > Maybe IRB bug!!
    > irb(main):007:0> => false
    > SyntaxError: (irb):7: syntax error, unexpected tASSOC
    > => false
    > ^
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `eval'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:
    > 219:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    > (2 levels) in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    > `signal_status'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    > in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 244:in `block (2 levels) in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `loop'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `block in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    > `eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    > in start'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    > from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    > Maybe IRB bug!!
    > irb(main):008:0> irb(main):003:0> slog:~/ruby19/lib/ruby/1.9.0 UniX
    > $ ~/ruby19/bin/irb
    > SyntaxError: (irb):8: syntax error, unexpected ':', expecting $end
    > irb(main):003:0> slog:~/ruby19/lib/ruby/1.9.0 UniX$ ~/ruby19/bin/irb
    > ^
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `eval'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:
    > 219:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    > (2 levels) in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    > `signal_status'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    > in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 244:in `block (2 levels) in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `loop'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `block in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    > `eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    > in start'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    > from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    > Maybe IRB bug!!
    > irb(main):009:0> irb(main):001:0> require 'yaml'
    > SyntaxError: (irb):9: syntax error, unexpected ':', expecting $end
    > irb(main):001:0> require 'yaml'
    > ^
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `eval'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:
    > 219:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    > (2 levels) in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    > `signal_status'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    > in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 244:in `block (2 levels) in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `loop'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `block in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    > `eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    > in start'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    > from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    > Maybe IRB bug!!
    > irb(main):010:0> => true
    > SyntaxError: (irb):10: syntax error, unexpected tASSOC
    > => true
    > ^
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `eval'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:
    > 219:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    > (2 levels) in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    > `signal_status'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    > in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 244:in `block (2 levels) in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `loop'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `block in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    > `eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    > in start'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    > from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    > Maybe IRB bug!!
    > irb(main):011:0> irb(main):002:0> captions_number = YAML.load
    > (File.open("/Users/UniX/ruby/arrays/captions_number.yaml"))
    > SyntaxError: (irb):11: syntax error, unexpected ':', expecting $end
    > irb(main):002:0> captions_number = YAML...
    > ^
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `eval'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:
    > 219:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    > (2 levels) in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    > `signal_status'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    > in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 244:in `block (2 levels) in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `loop'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `block in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    > `eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    > in start'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    > from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    > Maybe IRB bug!!
    > irb(main):012:0> => false
    > SyntaxError: (irb):12: syntax error, unexpected tASSOC
    > => false
    > ^
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `eval'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:
    > 219:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    > (2 levels) in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    > `signal_status'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    > in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 244:in `block (2 levels) in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `loop'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `block in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    > `eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    > in start'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    > from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    > Maybe IRB bug!!
    > irb(main):013:0> irb(main):003:0>
    > irb(main):014:0* slog:~/ruby19/lib/ruby/1.9.0 UniX$ ~/ruby19/bin/irb
    > SyntaxError: (irb):13: syntax error, unexpected ':', expecting $end
    > irb(main):003:0>
    > ^
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `eval'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:
    > 219:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    > (2 levels) in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    > `signal_status'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    > in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 244:in `block (2 levels) in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `loop'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `block in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    > `eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    > in start'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    > from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    > Maybe IRB bug!!
    > irb(main):015:0> irb(main):001:0> require 'yaml'
    > SyntaxError: (irb):15: syntax error, unexpected ':', expecting $end
    > irb(main):001:0> require 'yaml'
    > ^
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `eval'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:
    > 219:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    > (2 levels) in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    > `signal_status'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    > in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 244:in `block (2 levels) in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `loop'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `block in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    > `eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    > in start'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    > from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    > Maybe IRB bug!!
    > irb(main):016:0> => true
    > SyntaxError: (irb):16: syntax error, unexpected tASSOC
    > => true
    > ^
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `eval'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:
    > 219:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    > (2 levels) in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    > `signal_status'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    > in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 244:in `block (2 levels) in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `loop'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `block in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    > `eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    > in start'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    > from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    > Maybe IRB bug!!
    > irb(main):017:0> irb(main):002:0> captions_number = YAML.load
    > (File.open("/Users/UniX/ruby/arrays/captions_number.yaml"))
    > SyntaxError: (irb):17: syntax error, unexpected ':', expecting $end
    > irb(main):002:0> captions_number = YAML...
    > ^
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `eval'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:
    > 219:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    > (2 levels) in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    > `signal_status'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    > in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 244:in `block (2 levels) in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `loop'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `block in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    > `eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    > in start'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    > from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    > Maybe IRB bug!!
    > irb(main):018:0> => false
    > SyntaxError: (irb):18: syntax error, unexpected tASSOC
    > => false
    > ^
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `eval'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:
    > 219:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    > (2 levels) in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    > `signal_status'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    > in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 244:in `block (2 levels) in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `loop'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `block in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    > `eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    > in start'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    > from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    > Maybe IRB bug!!
    > irb(main):019:0> irb(main):003:0>
    > irb(main):020:0*
    > irb(main):021:0* irb(main):021:0>
    > irb(main):022:0* irb(main):022:0> SyntaxError: (irb):19: syntax
    > error, unexpected ':', expecting $end
    > irb(main):003:0>
    > ^
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `eval'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/workspace.rb:
    > 81:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/context.rb:
    > 219:in `evaluate'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:150:in `block
    > (2 levels) in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:259:in
    > `signal_status'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:147:in `block
    > in eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 244:in `block (2 levels) in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `loop'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 231:in `block in each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb/ruby-lex.rb:
    > 230:in `each_top_level_statement'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:146:in
    > `eval_input'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:70:in `block
    > in start'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `catch'
    > from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in `start'
    > from /Users/UniX/ruby19/bin/irb:13:in `<main>'
    > Maybe IRB bug!!
    > slog:~/ruby19/lib/ruby/1.9.0 UniX$
    >
    Windham, Kristopher R., Jan 19, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Harry Ohlsen

    irb.bat "bug"?

    Harry Ohlsen, Aug 28, 2003, in forum: Ruby
    Replies:
    0
    Views:
    94
    Harry Ohlsen
    Aug 28, 2003
  2. Roland Schmitt

    Bug in irb?

    Roland Schmitt, Dec 17, 2003, in forum: Ruby
    Replies:
    0
    Views:
    80
    Roland Schmitt
    Dec 17, 2003
  3. Sam Stephenson
    Replies:
    1
    Views:
    225
    Andrew Walrond
    Jun 18, 2005
  4. Replies:
    1
    Views:
    156
    Florian GroƟ
    Oct 26, 2005
  5. anne001
    Replies:
    1
    Views:
    269
    anne001
    Jun 27, 2006
Loading...

Share This Page