Sha256: e507bf1e198b590b5af4d1edf52ca30598c1ed4df2044b046b5f53fb2e8b243f

Contents?: true

Size: 761 Bytes

Versions: 2

Compression:

Stored size: 761 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

2 entries across 2 versions & 1 rubygems

Version Path
sigh-0.10.9 lib/sigh/dependency_checker.rb
sigh-0.10.8 lib/sigh/dependency_checker.rb