Mac OS X シェルで次のコマンドを実行しています。
RAILS_ENV=test rake spec --trace
** Invoke spec (first_time)
** Invoke db:test:prepare (first_time)
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:abort_if_pending_migrations
** Execute db:test:prepare
** Invoke db:test:clone_structure (first_time)
** Invoke db:structure:dump (first_time)
** Invoke environment
** Execute db:structure:dump
** Invoke db:test:purge (first_time)
** Invoke environment
** Execute db:test:purge
** Execute db:test:clone_structure
** Execute spec
このコマンドは、続行する前に 5 分以上ここで停止するため、何がこの大きな遅延を引き起こしているのかわかりません。
「実行仕様」を遅くしているものを見つける方法についてのアイデアはありますか?
ありがとう