Hi,
In message "[ruby-talk:03016] rbconfig.rb"
on 00/05/28, Dave Thomas <Dave / thomases.com> writes:
|
|I'm probably just confused (again), but while trying to track down
|problems I'm having with mod_ruby, I started looking at the
|Makefile.RB for eruby. I discovered the following:
|
| require 'rbconfig'
| include Config
| puts CONFIG['LIBRUBYARG'] #=> libruby.a
|
|
|But...
|
| require "mkmf"
| puts CONFIG['LIBRUBYARG'] #=> $(LIBRUBY_A)
|
|
|This is messing up the build of eruby on my box.
Config::CONFIG contains expanded values. Config::MAKEFILE_CONFIG,
which is CONFIG in mkmf, contains unexpanded values.
It's not a bug. Show me the problem, so that I can help you.
matz.