lib/shaddox/target.rb in shaddox-0.0.15 vs lib/shaddox/target.rb in shaddox-0.0.16

- old
+ new

@@ -22,10 +22,10 @@ # Try to create tmpdir: info "Creating #{tmpdir}", 1 unlocked = exec "mkdir #{tmpdir}" # Abort if the tmpdir already exists - raise TargetError, "Shaddox is already running on this machine. Try again later." unless unlocked + raise TargetError, "A shadow script is already running on this machine. Try again later." unless unlocked begin # Initial provisioning to ensure that we have everyting we need to execute a shadow script: ruby_installed = exec 'type ruby >/dev/null' raise TargetError, "Ruby is required to use shaddox. Please install it manually." unless ruby_installed