:IRB Bug

  • Thread starter Windham, Kristopher R.
  • Start date

W

Windham, Kristopher R.

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$
 
Ad

Advertisements

W

Windham, Kristopher R.

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..
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top