Commit 72d723c9 authored by Ralf Mueller's avatar Ralf Mueller
Browse files

Update to current ruby version

parent 3c57b8fe
require 'mkmf'
require 'rbconfig'
if RUBY_VERSION[0,3] == '1.8'
puts "-I#{Config::expand(CONFIG['archdir'])}"
else
puts "-I#{Config::expand(CONFIG['rubyhdrdir'])} -I#{Config::expand(CONFIG['rubyhdrdir'])}/#{Config::expand(CONFIG['arch'])}"
puts "-I#{RbConfig::CONFIG['rubyhdrdir']} -I#{RbConfig::CONFIG['rubyhdrdir']}/#{RbConfig::CONFIG['arch']}"
end
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment