I am trying to compile ruby (v1.9.2) on a CentOS 5.6 system (kernel v2.6.18-238.12.1.el5), but keep getting a "executable host ruby is required" error message during make.
Here are the steps:
./configure --prefix=/usr/local/ruby
make
I get the following error (in entirety):
echo executable host ruby is required. use --with-baseruby option.; false ./tool/generic_erb.rb -c -o known_errors.inc ./template/known_errors.inc.tmpl ./defs/known_errors.def
executable host ruby is required. use --with-baseruby option.
I read the description of what the '--with-baseruby' option does, but it seems circular, b/c I am trying to install ruby. So do I need to do something like:
--with-baseruby=/usr/local/ruby/... ?
Thanks in advance.