#1  
Old 21st November 2011, 05:15
mbrad mbrad is offline
Junior Member
 
Join Date: Nov 2011
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default 16.1 Ruby

Hi, I am following these instructions:
http://www.howtoforge.com/perfect-se...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
Reply With Quote
Sponsored Links
  #2  
Old 21st November 2011, 12:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Did you run
Code:
yum install ruby ruby-devel
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 21st November 2011, 16:48
mbrad mbrad is offline
Junior Member
 
Join Date: Nov 2011
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #4  
Old 22nd November 2011, 14:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

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?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 25th November 2011, 03:43
mbrad mbrad is offline
Junior Member
 
Join Date: Nov 2011
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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
Reply With Quote
  #6  
Old 25th November 2011, 19:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,751 Times in 2,581 Posts
Default

Ok, Ruby is apparently not installed. Are you sure
Code:
yum install ruby ruby-devel
finished without errors? Please run it again.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 23rd December 2011, 00:35
daniel000 daniel000 is offline
Junior Member
 
Join Date: Jun 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

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.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running ruby globally without ISPC3 option to disable per host Robain Installation/Configuration 1 24th February 2010 09:57
ISPConfig and Ruby antun HOWTO-Related Questions 11 2nd July 2008 18:34
Ruby and autosignup Gimly Installation/Configuration 3 14th March 2008 17:17
Ruby on Rails with fcgi and apache TechG1rl HOWTO-Related Questions 5 26th November 2007 19:51
Change Document Root for Ruby on Rails vhost Delphinus General 12 8th September 2007 12:31


All times are GMT +2. The time now is 18:55.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.