既存の Rails コードベースで作業を開始したばかりで、コードベースでテストを実行しようとしています。ただし、実行するbundle exec rspec spec/
と、すべてのテストで次のエラーが発生します。
Failure/Error: Unable to find matching line from backtrace
Redis::CommandError:
ERR invalid DB index
# ./lib/redised.rb:35:in `flushdb_all'
# ./lib/redised.rb:35:in `each_value'
# ./lib/redised.rb:35:in `flushdb_all'
私は Rails の初心者です。Michael Hartl の Rails チュートリアルの 11 章のうち 8 章しか終えていないので、Redis には詳しくありません。私のRedisのバージョンはredis-2.4.17
.