我正在使用Ruby Koans,突然间我的佣金被中止了。我担心它没有正确设置。我发布的是终端中的内容。非常感谢任何帮助。
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby path_to_enlightenment.rb /Users/~/koans/koans/about_methods.rb:21:in
eval': (eval):1: syntax error, unexpected ( arg, expecting keyword_do or '{' or '(' (SyntaxError) assert_equal 5, my_global_method (2, 3) ^ from /Users/~/koans/koans/about_methods.rb:21:in
test_sometimes_missing_parentheses_are_ambiguous' 来自/Users/~/koans/koans/neo.rb:441:inmeditate' from /Users/~/koans/koans/neo.rb:513:in
阻止步行' 来自/Users/~/koans/koans/neo.rb:524:inblock (3 levels) in each_step' from /Users/~/koans/koans/neo.rb:522:in
每个' 来自/Users/~/koans/koans/neo.rb:522:inblock (2 levels) in each_step' from /Users/~/koans/koans/neo.rb:521:in
每个' 来自/Users/~/koans/koans/neo.rb:521:ineach_with_index' from /Users/~/koans/koans/neo.rb:521:in
块中的each_step' 来自/Users/~/koans/koans/neo.rb:519:incatch' from /Users/~/koans/koans/neo.rb:519:in
each_step' 来自/Users/~/koans/koans/neo.rb:512:inwalk' from /Users/~/koans/koans/neo.rb:534:in
阻止' 耙子流产了! 命令失败,状态为(1):[/ System / Library / Frameworks / Ruby.framework / ...] / Users /〜/ koans / koans / Rakefile:10:in block in'
`
答案 0 :(得分:3)
uint64_t
之后你有一个额外的空格。