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!

Help With Ruby

Discussion in 'General Discussion' started by enertiaweb, Aug 2, 2007.

  1. enertiaweb

    enertiaweb Registered

    Jul 11, 2004
    Likes Received:
    Trophy Points:
    I installed ruby using the /scripts/installruby.... Everything seemed to work okay, and I can execute ruby from the command line.

    I selected the mongrel 1.0.1 (ruby), and fastthread 1.0 (ruby) during the installation. everything else was the defaults.

    My question is, how do i get it to run from the browser? I created the following test file

    presidents = ["Ford", "Carter", "Reagan", "Bush1", "Clinton", "Bush2"]
    presidents.each {	
        puts prez
    and tried the following extentions: .rb, .rhtml, .fcgi, .html

    I know this is something easy that I am just overlooking but any help would be appreciated.

    Thanks in advance,

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