:IRB Bug

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 . 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:inevaluate’
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:inblock
(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:inblock
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:inloop’
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:incatch’
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:ineval_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:incatch’
from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in start' from /Users/UniX/ruby19/bin/irb:13:in
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:inevaluate’
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:inblock
(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:inblock
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:inloop’
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:incatch’
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:ineval_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:incatch’
from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in start' from /Users/UniX/ruby19/bin/irb:13:in
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:inevaluate’
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:inblock
(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:inblock
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:inloop’
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:incatch’
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:ineval_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:incatch’
from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in start' from /Users/UniX/ruby19/bin/irb:13:in
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:inevaluate’
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:inblock
(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:inblock
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:inloop’
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:incatch’
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:ineval_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:incatch’
from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in start' from /Users/UniX/ruby19/bin/irb:13:in
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:inevaluate’
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:inblock
(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:inblock
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:inloop’
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:incatch’
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:ineval_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:incatch’
from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in start' from /Users/UniX/ruby19/bin/irb:13:in
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:inevaluate’
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:inblock
(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:inblock
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:inloop’
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:incatch’
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:ineval_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:incatch’
from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in start' from /Users/UniX/ruby19/bin/irb:13:in
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:inevaluate’
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:inblock
(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:inblock
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:inloop’
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:incatch’
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:ineval_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:incatch’
from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in start' from /Users/UniX/ruby19/bin/irb:13:in
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:inevaluate’
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:inblock
(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:inblock
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:inloop’
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:incatch’
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:ineval_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:incatch’
from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in start' from /Users/UniX/ruby19/bin/irb:13:in
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:inevaluate’
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:inblock
(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:inblock
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:inloop’
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:incatch’
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:ineval_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:incatch’
from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in start' from /Users/UniX/ruby19/bin/irb:13:in
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:inevaluate’
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:inblock
(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:inblock
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:inloop’
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:incatch’
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:ineval_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:incatch’
from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in start' from /Users/UniX/ruby19/bin/irb:13:in
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:inevaluate’
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:inblock
(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:inblock
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:inloop’
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:incatch’
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:ineval_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:incatch’
from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in start' from /Users/UniX/ruby19/bin/irb:13:in
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:inevaluate’
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:inblock
(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:inblock
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:inloop’
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:incatch’
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:ineval_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:incatch’
from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in start' from /Users/UniX/ruby19/bin/irb:13:in
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:inevaluate’
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:inblock
(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:inblock
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:inloop’
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:incatch’
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:ineval_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:incatch’
from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in start' from /Users/UniX/ruby19/bin/irb:13:in
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:inevaluate’
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:inblock
(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:inblock
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:inloop’
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:incatch’
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:ineval_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:incatch’
from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in start' from /Users/UniX/ruby19/bin/irb:13:in
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:inevaluate’
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:inblock
(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:inblock
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:inloop’
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:incatch’
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:ineval_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:incatch’
from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in start' from /Users/UniX/ruby19/bin/irb:13:in
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:inevaluate’
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:inblock
(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:inblock
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:inloop’
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:incatch’
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:ineval_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:incatch’
from /Users/UniX/ruby19/lib/ruby/1.9.0/irb.rb:69:in start' from /Users/UniX/ruby19/bin/irb:13:in
Maybe IRB bug!!
slog:~/ruby19/lib/ruby/1.9.0 UniX$

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…

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs