Hi, I am following these instructions: http://www.howtoforge.com/perfect-server-fedora-15-x86_64-ispconfig-3-p5 I am stuck on the line: ./configure.rb --with-apr-includes=/usr/include/apr-1 When I copy and paste this line into my terminal window I get: [root@server1 mod_ruby-1.3.0]# ./configure.rb --with-apr-includes=/usr/include/apr-1 /usr/bin/env: ruby: No such file or directory I can't figure out how to make this work: My ls -l shows: [root@server1 mod_ruby-1.3.0]# ls -l total 464 -rw-r--r-- 1 1000 1000 5196 Jan 31 2006 apache_cookie.c -rw-r--r-- 1 1000 1000 2610 Jan 31 2006 apache_cookie.h -rw-r--r-- 1 1000 1000 16510 Jan 15 2008 apachelib.c -rw-r--r-- 1 1000 1000 5803 Jul 31 2007 apachelib.h -rw-r--r-- 1 1000 1000 7858 Jan 31 2006 apache_multipart_buffer.c -rw-r--r-- 1 1000 1000 1535 Aug 2 2005 apache_multipart_buffer.h -rw-r--r-- 1 1000 1000 16801 Jan 31 2006 apache_request.c -rw-r--r-- 1 1000 1000 4021 Jan 31 2006 apache_request.h -rw-r--r-- 1 1000 1000 3570 Jan 15 2008 array_header.c -rwxr-xr-x 1 1000 1000 10605 Nov 7 2008 autoconf.rb -rw-r--r-- 1 1000 1000 7281 Aug 2 2005 bucket.c -rw-r--r-- 1 1000 1000 39684 Nov 7 2008 ChangeLog -rwxr-xr-x 1 1000 1000 15463 Nov 7 2008 configure.rb -rw-r--r-- 1 1000 1000 5395 May 22 2006 configure.rb.in -rw-r--r-- 1 1000 1000 6326 Jul 31 2007 connection.c -rw-r--r-- 1 1000 1000 14260 Nov 7 2008 cookie.c -rw-r--r-- 1 1000 1000 1403 Jun 30 2004 COPYING drwxr-sr-x 2 1000 1000 4096 Nov 7 2008 doc -rw-r--r-- 1 1000 1000 2544 Jul 31 2007 error.c drwxr-sr-x 2 1000 1000 4096 Nov 7 2008 examples -rwxr-xr-x 1 1000 1000 1151 Jun 30 2004 install-rb -rw-r--r-- 1 1000 1000 1055 Sep 23 2004 LEGAL drwxr-sr-x 3 1000 1000 4096 Nov 7 2008 lib -rw-r--r-- 1 1000 1000 68 Jun 30 2004 libruby.module.in -rw-r--r-- 1 1000 1000 11358 Sep 23 2004 LICENSE.apreq -rw-r--r-- 1 1000 1000 5604 Nov 7 2008 Makefile.in -rw-r--r-- 1 1000 1000 252 Jun 30 2004 Makefile.libdir -rw-r--r-- 1 1000 1000 1429 Jun 30 2004 Makefile.tmpl -rw-r--r-- 1 1000 1000 41867 Nov 7 2008 mod_ruby.c -rw-r--r-- 1 1000 1000 10538 Nov 7 2008 mod_ruby.h -rw-r--r-- 1 1000 1000 10024 Nov 7 2008 multival.c -rw-r--r-- 1 1000 1000 101 Sep 23 2004 NOTICE -rw-r--r-- 1 1000 1000 8868 Nov 7 2008 paramtable.c -rw-r--r-- 1 1000 1000 991 Jul 16 2004 README.en -rw-r--r-- 1 1000 1000 1073 Jul 16 2004 README.ja -rw-r--r-- 1 1000 1000 64251 Nov 7 2008 request.c -rw-r--r-- 1 1000 1000 16960 Jan 15 2008 ruby_config.c -rw-r--r-- 1 1000 1000 3635 Jul 31 2007 ruby_config.h -rw-r--r-- 1 1000 1000 168 Aug 2 2005 ruby_shared_stub.c -rw-r--r-- 1 1000 1000 8941 Aug 2 2005 server.c -rw-r--r-- 1 1000 1000 5207 Jan 31 2006 table.c -rw-r--r-- 1 1000 1000 5859 Jan 15 2008 upload.c -rw-r--r-- 1 1000 1000 3628 Jul 31 2007 uri.c What do I need to do to get past this point / to make the line of command code work? Thanks, Brad
Yes, I've run all code up to that one line of code. I've checked the folders to see if the packages are there, and I do see them. Brad
Did you get any error messages when you installed the packages? What's the output of Code: which ruby ? Did you log in as root directly, or did you su?
very sorry for the slow reply. Ok, I ran your code: [root@server1 mod_ruby-1.3.0]# which ruby? /usr/bin/which: no ruby? in (/usr/lib/courier-imap/sbin:/usr/lib/courier-imap/bin:/usr/lib/ccache:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin) is what I got. I believe I'm in as root (su -) Just not sure what directory I should be in... maybe that's why I got the result I did above for which ruby? Thanks again Falko
Ok, Ruby is apparently not installed. Are you sure Code: yum install ruby ruby-devel finished without errors? Please run it again.
I agree. From the Thread I wonder if its actually installed? Usually both on OSX and Ubuntu its pretty strait forward. I have only had issues with set up on a PC.