LoginSignup
3
0

More than 3 years have passed since last update.

CIでredisサーバーがいなくて落ちる-> Redis::CannotConnectError: Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)

Posted at

解決策

version: 2
jobs:
  build:
    docker:
      # specify the version you desire here
      - image: circleci/ruby:2.6.2-node-browsers
        environment:
          RAILS_ENV: test
      - image: mysql:5.6
        environment:
          MYSQL_ALLOW_EMPTY_PASSWORD: yes
          ONLY_FULL_GROUP_BY: no
      - image: redis  # ここ追加
3
0
1

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
3
0