configure eruby => nil at line 310

Daren Scot Wilson <[email protected]> Tue, 09 Jun 2009 01:39:24 -0400
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
I would like to try eRuby on my home machine.   The tarball is unpacked 
and i'm trying to configure:

bash => ./configure.rb --with-apr-includes=/usr/include/apr-1
./configure.rb:310: private method `gsub!' called for nil:NilClass 
(NoMethodError)

What is the problem?  Google didn't provide much help.  The offending 
line and the one before it are:
$XLDFLAGS = CONFIG["XLDFLAGS"]
$XLDFLAGS.gsub!(/-L\./, "")

Thanks,
DSW