Sha256: b9f0e33e3682a9a4deb480a9983f240e226a965eadb594bfd5080495ab1efa61
Contents?: true
Size: 562 Bytes
Versions: 26
Compression:
Stored size: 562 Bytes
Contents
if RUBY_PLATFORM =~ /java/i # 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' # if set in environment, set compiler for make # example: # CC=gcc-4.8 gem install bel.rb RbConfig::MAKEFILE_CONFIG['CC'] = ENV['CC'] if ENV['CC'] create_makefile('bel/libbel/ext/libbel') end
Version data entries
26 entries across 26 versions & 1 rubygems