Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How can I use Ruby on rails with mongrel(apache2/php5/mysql5)

Discussion in 'EasyApache' started by psdjc, Aug 24, 2007.

  1. psdjc

    psdjc Registered

    Aug 17, 2006
    Likes Received:
    Trophy Points:
    Hi, I'd like to install ROR(ruby) on my server.
    I know, Cpanel is really comfortable WHM Tool,
    but sometimes it's teasing that I can't do anything without cpanel(cuz cpanel manage all compile and build process).

    This time, I updated APM to latest version using bleeding edge (easyapache3)

    Everything seemed to be ok, and I run /script/installruby before I compile apache2 contain mod_proxy.

    So from this point, I heard fastcgi with ruby is kinda tricky and unstable and needs lots of system resources. then I tried to stay with mongrel, but I can't find any clue to attach this modules on apache2.

    Does anyone clearly know how to use ruby with mongrel on apache2 server?

    Furthermore, tell me how to test ROR is properly installed on my server.

    With my best regards.

  2. ben-av

    ben-av Member

    Nov 10, 2004
    Likes Received:
    Trophy Points:
    Once you install ruby (/scripts/installruby), to install mongrel type (via ssh):

    gem install mongrel

    Do you have a rails app to 'test' it with already?

    Here's a small tutorial I found that may help:

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice