The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

    Joined:
    Aug 17, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    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.

    Thanks.
     
  2. ben-av

    ben-av Member

    Joined:
    Nov 10, 2004
    Messages:
    11
    Likes Received:
    0
    Trophy Points:
    1
    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: http://railsforum.com/viewtopic.php?id=411
     

Share This Page