Sha256: 1ce244c35ceaada45176c9b4eb2983212490d6e5f87aec1979043367c542a79b
Contents?: true
Size: 446 Bytes
Versions: 39
Compression:
Stored size: 446 Bytes
Contents
if RUBY_PLATFORM == "java" # Don't do anything when run in JRuby; this allows gem installation to pass. # We need to write a dummy Makefile so that RubyGems doesn't think compilation # failed. File.open('Makefile', 'w') do |f| f.puts "all:" f.puts "\t@true" f.puts "install:" f.puts "\t@true" end exit 0 else require "mkmf" have_header('ruby/util.h') dir_config("bcrypt_ext") create_makefile("bcrypt_ext") end
Version data entries
39 entries across 39 versions & 3 rubygems