Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 24 lines (21 sloc) 0.68 kB
# :DK-BEG: missing DevKit/build tool convenience notice
Gem.pre_install do |gem_installer|
unless gem_installer.spec.extensions.empty?
begin
load 'devkit'
rescue LoadError
have_tools = %w{gcc make sh}.all? do |t|
system("#{t} --version > NUL 2>&1")
end
unless have_tools
raise Gem::InstallError,<<-EOT
The '#{gem_installer.spec.name}' native gem requires installed build tools.
Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'
EOT
end
end
end
end
# :DK-END:
Jump to Line
Something went wrong with that request. Please try again.