0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

redis.yml redis_db_num 设置

Posted at

redis_db_num设置为20

那么redis.conf里面databases 就要设置为20 + 1 = 21

不然会报这种错误http://stackoverflow.com/questions/14287075/rediscommanderror-err-invalid-db-index-when-running-rspec

redis要重启

rails 如果还是报错试试spring stop

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?