Sha256: 8f3d16e83e4b7610dddd52fe2706c8e0ea26313132385b28c346c58ef11640f0
Contents?: true
Size: 417 Bytes
Versions: 37
Compression:
Stored size: 417 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") create_makefile("bcrypt_ext") end
Version data entries
37 entries across 37 versions & 8 rubygems