Install.rb and --prefix

I want to do something like:
File.open("$prefix/share/alamo.jpg", “rb”) do |f|
FXLabel.new(theMainWindow,"").icon = FXJPGIcon.new(theApp, f.read)
end

I want $prefix to be tied to whatever prefix the sysadmin gave to
install.rb, as in
ruby install.rb --prefix=$HOME

I can’t find it in the docs for install.rb.

···


Hans Fugal | De gustibus non disputandum est.
http://hans.fugal.net/ | Debian, vim, mutt, ruby, text, gpg
http://gdmxml.fugal.net/ | WindowMaker, gaim, UTF-8, RISC, JS Bach

GnuPG Fingerprint: 6940 87C5 6610 567F 1E95 CB5E FC98 E8CD E0AA D460