Sha256: 40871aeda1165bf2d1f8ccfbdafca5060fa3e42d2a09fb9fc9a8792722411c0d

Contents?: true

Size: 320 Bytes

Versions: 4

Compression:

Stored size: 320 Bytes

Contents

def fake_makefile
  File.open(File.join(File.dirname(__FILE__), "Makefile"), "w") {|f|
    f.puts %[install:\n\techo "Nada."]
  }
end

def mri_2?
  defined?(RUBY_ENGINE) && RUBY_ENGINE == "ruby" &&
    RUBY_VERSION =~ /^2/
end

  
if mri_2?
  require 'mkmf'
  create_makefile('debug_inspector')
else
  fake_makefile
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
debug_inspector-0.0.3 ext/debug_inspector/extconf.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/debug_inspector-0.0.2/ext/debug_inspector/extconf.rb
debug_inspector-0.0.2 ext/debug_inspector/extconf.rb
debug_inspector-0.0.1 ext/debug_inspector/extconf.rb