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

Version Path
devise_sociable-0.1.0 vendor/bundle/gems/bcrypt-ruby-2.1.4/ext/mri/extconf.rb
bcrypt-ruby-2.1.4 ext/mri/extconf.rb
bcrypt-ruby-2.1.4-x86-mswin32-60 ext/mri/extconf.rb
bcrypt-ruby-2.1.4-x86-mingw32 ext/mri/extconf.rb
bcrypt-ruby-2.1.4-java ext/mri/extconf.rb
bcrypt-ruby-2.1.3-x86-mswin32-60 ext/mri/extconf.rb
bcrypt-ruby-2.1.3-x86-mingw32 ext/mri/extconf.rb
bcrypt-ruby-2.1.3-java ext/mri/extconf.rb
bcrypt-ruby-2.1.3 ext/mri/extconf.rb
bcrypt-ruby-2.1.2 ext/mri/extconf.rb