Sha256: b5535b9c4e0717bfd5ccc7aa2156933e1a2e4fccb069484900283abd0201aef9

Contents?: true

Size: 698 Bytes

Versions: 2

Compression:

Stored size: 698 Bytes

Contents

# Note: This is handled toplevel to not confuse compilers.
#
failed = 0

begin
  require File.expand_path '../performant', __FILE__
rescue LoadError => e
  failed += 1
  
  # Have Makefile built.
  #
  require File.expand_path '../extconf', __FILE__
  
  # Run make.
  #
  puts %x(make)
  
  # Try again.
  #
  retry if failed < 2
  
  # Give up and inform the user.
  #
  puts <<-NOTE

Picky tried to compile its source on your system but failed.
Please add an issue: https://github.com/floere/picky/issues/
and copy anything into it that you think is helpful. Thanks!

See related issue: https://github.com/floere/picky/issues/81

The problem reported by the compiler was:
#{e}

NOTE
  exit 1
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
picky-4.5.7 lib/maybe_compile.rb
picky-4.5.6 lib/maybe_compile.rb