Extconf.rb (LoadError)

Hello Geeks,
I am running CentOS 5.9 32 bit. When I, try run the following command:

[..... ruby-1.8.7-p352]# ruby extconf.rb
--with-zlib-include=/usr/include --with-zlib-lib=/usr/lib

I get this following error:

ruby: No such file or directory -- extconf.rb (LoadError)

Please advice me.

···

--
Posted via http://www.ruby-forum.com/.

This isn't enough information. To start with, what are you trying to
compile? Either it doesn't provide an extconf.rb, or you're not in the
directory that contains it.

···

On Sun, Jun 16, 2013 at 9:46 AM, Mohamed Thasleem <lists@ruby-forum.com>wrote:

Hello Geeks,
I am running CentOS 5.9 32 bit. When I, try run the following command:

[..... ruby-1.8.7-p352]# ruby extconf.rb
--with-zlib-include=/usr/include --with-zlib-lib=/usr/lib

I get this following error:

ruby: No such file or directory -- extconf.rb (LoadError)

Please advice me.