ESL-89: --resolve add rubymod-install and add ability to use a ruby not in your path by setting RUBY env var

This commit is contained in:
Michael Jerris
2014-04-07 15:27:24 -04:00
parent 8f3ee29c23
commit d6fa81b4b7
3 changed files with 13 additions and 4 deletions

View File

@@ -3,6 +3,6 @@ require 'rbconfig'
cflags = if RUBY_VERSION =~ /1.9/ then
"-I#{RbConfig::CONFIG['rubyhdrdir']} -I#{RbConfig::CONFIG['rubyhdrdir']}/#{RbConfig::CONFIG['arch']}"
else
"-I#{RbConfig::CONFIG["topdir"]}"
"-I#{RbConfig::CONFIG["topdir"]} -I#{RbConfig::CONFIG['rubyhdrdir']} -I#{RbConfig::CONFIG['rubyhdrdir']}/#{RbConfig::CONFIG['arch']}"
end
puts cflags
puts cflags