#1  
Old 30th June 2008, 07:40
antun antun is offline
Member
 
Join Date: Oct 2006
Location: San Francisco, CA
Posts: 38
Thanks: 7
Thanked 0 Times in 0 Posts
Default ISPConfig and Ruby

I'm trying to enable my ISPConfig (on Ubuntu) to run Rails apps. I just updated ISPConfig to 2.2.7, and followed this HowTo:

http://www.howtoforge.com/apache2-mo...2.20-and-above

When I run the test, it doesn't work; I just see the Ruby source displayed.

Step 5 of the instructions says:
Quote:
If you enable Ruby for that web site, ISPConfig adds something like this to the web site's Apache vhost configuration:
How do I "enable Ruby" for a web site? I don't see any options in the ISPConfig panel.

Should I have the ruby executable installed? I just installed the mod_ruby module as described in the instructions above. I'm using Ubuntu 6.06.2 LTS.

Thanks for any help in advance!

-Antun
Reply With Quote
Sponsored Links
  #2  
Old 30th June 2008, 08:28
Hans Hans is offline
Moderator
 
Join Date: Dec 2005
Location: Montfoort, The Netherlands
Posts: 2,256
Thanks: 212
Thanked 648 Times in 294 Posts
Send a message via Skype™ to Hans
Default

On the basis tab of the website in ISPConfig you should see a checkbox "Ruby".
__________________
Hans

BB-Hosting | Quality Web Hosting since 2005
Reply With Quote
  #3  
Old 30th June 2008, 17:26
antun antun is offline
Member
 
Join Date: Oct 2006
Location: San Francisco, CA
Posts: 38
Thanks: 7
Thanked 0 Times in 0 Posts
Default

Hi Hans,

I don't see a "Ruby" checkbox on the basis tab.

I've verified that ISPConfig 2.2.7 is successfully installed, by going to Tools>Software Version.

Is there anything else I have to install or update as far as Apache is concerned?

Thanks,

Antun
Reply With Quote
  #4  
Old 30th June 2008, 18:37
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

Ruby is not supported by ISPConfig 2.2.7. Please update to the latest release (2.2.23).
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #5  
Old 30th June 2008, 19:24
antun antun is offline
Member
 
Join Date: Oct 2006
Location: San Francisco, CA
Posts: 38
Thanks: 7
Thanked 0 Times in 0 Posts
Default

Hi Till,

Ah - silly me! I downloaded 2.2.23, but then inadvertently re-installed 2.2.7 (which I still had in my downloads directory from before)! I've installed 2.2.23 correctly now, and I do get the Ruby option on the basis tab. I've checked it for a site, but my test .rb script still doesn't work.

Do I need to do anything else? After checking the Ruby checkbox, and restarting Apache, I don't see anything about Ruby in the vhosts file here:

/etc/apache2/vhosts/Vhosts_ispconfig.conf

Should there be something there?

Thanks,

Antun
Reply With Quote
  #6  
Old 30th June 2008, 19:27
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,504
Thanks: 813
Thanked 5,265 Times in 4,129 Posts
Default

Did you install mod_ruby first? Otherwise it will lead to an error when you enable ruby in ISPConfig and ISPConfig will use a copy of the last working version of the Vhosts_ispconfig.conf file, the one without ruby enabled.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Ruby and autosignup Gimly Installation/Configuration 3 14th March 2008 16:17
ISPConfig 2.2.20 released till General 31 13th February 2008 16:17
ISPConfig 2.2.20 Beta 1 available for testing till Developers' Forum 7 9th February 2008 18:48
Change Document Root for Ruby on Rails vhost Delphinus General 12 8th September 2007 11:31
Ruby on Ispconfig? city General 2 22nd March 2006 02:09


All times are GMT +2. The time now is 01:59.


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