Sha256: 6299b991acdc786326158cf6212f6277d635d0c3efdb540d058f710bc9c72507
Contents?: true
Size: 444 Bytes
Versions: 10
Compression:
Stored size: 444 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" dir_config("bcrypt_ext") CONFIG['CC'] << " -Wall " create_makefile("bcrypt_ext") end
Version data entries
10 entries across 10 versions & 2 rubygems