Sha256: d1564cebd13c05ad2064b4a611fa5c9f14f3b17c70f3c740c43aceec5dbb767f

Contents?: true

Size: 608 Bytes

Versions: 1

Compression:

Stored size: 608 Bytes

Contents

require 'rubygems/dependency_installer'
 
dependency_installer = Gem::DependencyInstaller.new
 
begin
  if RUBY_VERSION < '2.1.0'
    puts "Installing nokogiri ~> 1.6.0 with Ruby version:#{RUBY_VERSION}"    
    dependency_installer.install 'nokogiri', '~> 1.6.0'
  elsif RUBY_VERSION < '2.2.0'
    puts "Installing nokogiri ~> 1.7.0 with Ruby version:#{RUBY_VERSION}"
    dependency_installer.install 'nokogiri', '~> 1.7.0'
  else
    puts "Installing nokogiri ~> 1.8 with Ruby version:#{RUBY_VERSION}"
    dependency_installer.install 'nokogiri', '~> 1.8'
  end
rescue => e
  warn "#{$0}: #{e}"
  exit!
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure-core-0.1.10 ext/mkrf_conf.rb