sct/lib/sct/commands/dev.rb in sct-1.7.0 vs sct/lib/sct/commands/dev.rb in sct-1.8.0
- old
+ new
@@ -1,10 +1,10 @@
require 'yaml'
module Sct
class DevCommand
- @@dc = system("which docker-compose") ? 'docker-compose' : 'docker compose'
+ @@dc = system("docker compose version", out: "/dev/null", err: "/dev/null") ? "docker compose" : "docker-compose"
@@file = "docker-compose.dev.yml"
def error message
UI.error message