Daniel Berger wrote:

> 
> # extconf.rb for ruby9i
> require "mkmf"
> 
> if ENV["ORACLE_HOME"] || ENV["ORA_HOME"]
>    ORACLE_HOME = ENV["ORACLE_HOME"] || ENV["ORA_HOME"]
>    $CFLAGS="-I#{ORACLE_HOME}/rdbms/demo  -I#{ORACLE_HOME}/rdbms/public"
>    $LDFLAGS="-L#{ORACLE_HOME}/lib"
> else
>    msg = "Your $ORACLE_HOME environment variable is not set.  You can "
>    msg += "either set it and start over or hand-modify the Makefile "
>    msg += "to point to the appropriate directories"
>    STDERR.puts msg
> end
> 
> dir_config("oracle9i")
> have_header("oci.h")
> have_library("clntsh")
> create_makefile("oracle9i")
> # end extconf.rb

For anyone using this script, please change "oracle9i" to "ruby9i". 
Sorry about that.

Regards,

Dan