Method: RakeCompilerDock::Starter.check_docker
- Defined in:
- lib/rake_compiler_dock/starter.rb
.check_docker(pwd) ⇒ Object
149 150 151 152 153 154 155 156 157 158 159 160 161 162 |
# File 'lib/rake_compiler_dock/starter.rb', line 149 def check_docker(pwd) @@docker_checked_lock.synchronize do @@docker_checked[pwd] ||= begin check = DockerCheck.new($stderr, pwd) unless check.ok? at_exit do check.print_help_text end raise DockerIsNotAvailable, "Docker is not available" end check end end end |