Sha256: bffeec8a5facf67ce7d0bdbf3e1a54260bf1ccef3abb53d139d5bdfb6e15661d

Contents?: true

Size: 256 Bytes

Versions: 2

Compression:

Stored size: 256 Bytes

Contents

require 'wyrm/module'

module Wyrm
  def self.sanity_check_dcmp
    bzip_cmd = Wyrm::STREAM_DCMP.split(' ').first
    rv = `which #{bzip_cmd}`
    unless $?.exitstatus == 0
      puts "\n#{cmd} not installed or not in PATH"
      exit(1)
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wyrm-0.4.2 lib/wyrm/cli.rb
wyrm-0.4.1 lib/wyrm/cli.rb