the-teacher / rails7-startkit

Launch Rails with 1 shell command!

Home Page:https://github.com/the-teacher/rails7-startkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Docker Compose v2 not found but docker-compose v2 is installed

ronald2wing opened this issue · comments

Cloning into 'rails7-startkit'...
remote: Enumerating objects: 2519, done.
remote: Counting objects: 100% (608/608), done.
remote: Compressing objects: 100% (95/95), done.
remote: Total 2519 (delta 534), reused 514 (delta 513), pack-reused 1911
Receiving objects: 100% (2519/2519), 12.48 MiB | 13.22 MiB/s, done.
Resolving deltas: 100% (1544/1544), done.
Docker version 24.0.7, build afdd53b4e3
=> Docker found
=> Docker is running
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Rails 7. StartKit
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
=> Docker Compose v2 not found
To continue please install or upgrade Docker Compose v2
More info: https://docs.docker.com/compose/compose-v2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    ~/De/R/rails7-startkit    master  docker-compose -v                                 1 ✘    5  
Docker Compose version 2.23.3

I am using Arch Linux.

docker compose version
Docker Compose version 2.23.3

Even this command works but the match does not contains v2.

Works after change v2 to 2 in Rails7StartKit/bin/docker.rb

if output.match(/Docker Compose version v2/)

This regex does not match the version command of docker compose:
Docker Compose version 2.24.6

@ronald2wing @Philwi

Hey guys! Sorry for the delay. I had many things to manage.

Would you like to create a PR?