Sha256: 26d8bd621027de19b0a7044c5abe9452ce2aff380767926f86c5ba167c7a36b7

Contents?: true

Size: 759 Bytes

Versions: 38

Compression:

Stored size: 759 Bytes

Contents

module Sigh
  class DependencyChecker
    def self.check_dependencies
      self.check_xcode_select unless Helper.is_test?
    end

    def self.check_xcode_select
      unless `xcode-select -v`.include?"xcode-select version "
        Helper.log.fatal '#############################################################'
        Helper.log.fatal "# You have to install the Xcode commdand line tools to use sigh"
        Helper.log.fatal "# Install the latest version of Xcode from the AppStore"
        Helper.log.fatal "# Run xcode-select --install to install the developer tools"
        Helper.log.fatal '#############################################################'
        raise "Run 'xcode-select --install' and start sigh again"
      end
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
sigh-0.10.7 lib/sigh/dependency_checker.rb
sigh-0.10.6 lib/sigh/dependency_checker.rb
sigh-0.10.5 lib/sigh/dependency_checker.rb
sigh-0.10.4 lib/sigh/dependency_checker.rb
sigh-0.10.3 lib/sigh/dependency_checker.rb
sigh-0.10.2 lib/sigh/dependency_checker.rb
sigh-0.10.1 lib/sigh/dependency_checker.rb
sigh-0.10.0 lib/sigh/dependency_checker.rb
sigh-0.9.0 lib/sigh/dependency_checker.rb
sigh-0.8.0 lib/sigh/dependency_checker.rb
sigh-0.6.0 lib/sigh/dependency_checker.rb
sigh-1.0.0.beta6 lib/sigh/dependency_checker.rb
sigh-1.0.0.beta5 lib/sigh/dependency_checker.rb
sigh-1.0.0.beta3 lib/sigh/dependency_checker.rb
sigh-1.0.0.beta2 lib/sigh/dependency_checker.rb
sigh-1.0.0.beta1 lib/sigh/dependency_checker.rb
sigh-0.5.2 lib/sigh/dependency_checker.rb
sigh-0.5.1 lib/sigh/dependency_checker.rb
sigh-0.5.0 lib/sigh/dependency_checker.rb
sigh-0.4.10 lib/sigh/dependency_checker.rb