lib/cide/docker.rb in cide-0.6.2 vs lib/cide/docker.rb in cide-0.6.3
- old
+ new
@@ -54,10 +54,10 @@
docker_version = $1
else
fail VersionError, 'Unknown docker version'
end
- if docker_version < '1.5.0'
+ if Gem::Version.new(docker_version) < Gem::Version.new('1.5.0')
fail VersionError, "Docker version #{$1} too old"
end
true
)