ports/irc/xchat-ruby/files/rubypath.rb
Dirk Meyer 63b1208511 - fix build with ruby19
Feature safe: yes
2012-03-16 15:52:38 +00:00

12 lines
274 B
Ruby

#!/usr/local/bin/ruby
require "rbconfig"
if RbConfig::CONFIG[ 'rubyhdrdir' ].nil?
puts RbConfig::CONFIG['archdir']
else
print RbConfig::CONFIG['rubyhdrdir']
print " -I"
print RbConfig::CONFIG['rubyhdrdir']
print "/"
puts RbConfig::CONFIG['sitearch']
end
# eof