Sha256: 14f6532161fff7634c49a0d76d15b8b4253483acee3db115ebe8de1f95723c3c
Contents?: true
Size: 397 Bytes
Versions: 3
Compression:
Stored size: 397 Bytes
Contents
def fake_makefile File.open("Makefile", "w") { |f| f.puts '.PHONY: install' f.puts 'install:' f.puts "\t" + '@echo "This Ruby not supported by/does not require debug_inspector."' } end def mri_2_or_3? defined?(RUBY_ENGINE) && RUBY_ENGINE == "ruby" && RUBY_VERSION =~ /^[23]/ end if mri_2_or_3? require 'mkmf' create_makefile('debug_inspector') else fake_makefile end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
debug_inspector-1.1.0 | ext/debug_inspector/extconf.rb |
debug_inspector-1.1.0rc1 | ext/debug_inspector/extconf.rb |
debug_inspector-1.0.0 | ext/debug_inspector/extconf.rb |