Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > :IRB Bug

Reply
Thread Tools

:IRB Bug

 
 
Windham, Kristopher R.
Guest
Posts: n/a
 
      01-19-2008

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$

 
Reply With Quote
 
 
 
 
Windham, Kristopher R.
Guest
Posts: n/a
 
      01-19-2008
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$
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
*bug* *bug* *bug* David Raleigh Arnold Firefox 12 04-02-2007 03:13 AM
ASP.NET Login control bug or SQL 2005 bug? RedEye ASP .Net 2 12-13-2005 10:57 AM
Re: BUG? OR NOT A BUG? John ASP .Net 2 09-21-2005 10:31 AM
Bug Parade Bug 4953793 Michel Joly de Lotbiniere Java 4 12-02-2003 05:05 AM
how to report bug to g++ ? got a bug and fixed up source code DarkSpy C++ 4 06-27-2003 09:05 AM



Advertisments