当我为我的 RoR 应用程序运行 rake 任务“test:functionals”时,它会产生以下错误:
>rake test:functionals
rake aborted!
C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-3.2.9/lib/active_record/transactions.rb:380: syntax error, unexpec
ted keyword_end, expecting $end
Tasks: TOP => test:functionals => test:prepare => db:test:prepare => db:abort_if_pending_migrations => db:load_conf
ig
我检查了我的代码是否有语法错误。为什么 transactions.rb 会有语法错误?