Sha256: a3aac332f2c577f998464c3cb04abde80d6d336c1bc96179b83218c4670537a5
Contents?: true
Size: 588 Bytes
Versions: 3
Compression:
Stored size: 588 Bytes
Contents
require 'rbconfig' if RbConfig::CONFIG['ruby_install_name'] == 'jruby' File.open("Makefile", "w") do |f| f.write "install:\n\tjrubyc --javac org/pryrepl/InterceptionEventHook.java\n" end elsif RbConfig::CONFIG['ruby_install_name'] =~ /^ruby/ && RUBY_VERSION.to_f < 2.0 require 'mkmf' $CFLAGS += " -DRUBY_18" if RUBY_VERSION =~ /^(1.8)/ $CFLAGS += " -DRUBY_19" if RUBY_VERSION =~ /^(1.9)/ extension_name = "interception" dir_config(extension_name) create_makefile(extension_name) else File.open("Makefile", "w") do |f| f.write "install:\n\t:\n" end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
whos_dated_who-0.1.0 | vendor/bundle/gems/interception-0.5/ext/extconf.rb |
whos_dated_who-0.0.1 | vendor/bundle/gems/interception-0.5/ext/extconf.rb |
interception-0.5 | ext/extconf.rb |