summaryrefslogtreecommitdiff
path: root/irc/xchat-ruby/files/rubypath.rb
blob: 783d1d4a382a2fa9358472c5a579fe3af2a9b89c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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