lib/docker-sync/dependencies/docker_driver.rb in docker-sync-0.5.11.pre.beta1 vs lib/docker-sync/dependencies/docker_driver.rb in docker-sync-0.5.11.pre.beta2

- old
+ new

@@ -3,17 +3,17 @@ module Docker module Driver def self.docker_for_mac? return false unless Environment.mac? return @docker_for_mac if defined? @docker_for_mac - @docker_for_mac = system('pgrep -q com.docker.hyperkit') + @docker_for_mac = Environment.system('pgrep -q com.docker.hyperkit') end def self.docker_toolbox? return false unless Environment.mac? || Environment.freebsd? return false unless find_executable0('docker-machine') return @docker_toolbox if defined? @docker_toolbox - @docker_toolbox = system('docker info | grep -q "Operating System: Boot2Docker"') + @docker_toolbox = Environment.system('docker info | grep -q "Operating System: Boot2Docker"') end end end end end