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.

Ruby on Rails in Cpanel 11

Discussion in 'General Discussion' started by kinsky, Aug 17, 2007.

  1. kinsky

    kinsky Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    I have a following messages while accessing Ruby On Rails on cPanel 11

    Create Ruby on Rails Application
    ') called at cpanel.pl line 4361 main::dotag(undef) called at cpanel.pl line 4250 main::cpanel_parseblock('SCALAR(0x8f6b30c)') called at cpanel.pl line 4204 main::cpanel_parse('GLOB(0xa6ed3c0)') called at cpanel.pl line 1027
    [a fatal error or timeout occurred while processing this directive]
    Undefined subroutine &Cpanel::RoR::RoR_init called at (eval 65) line 1. eval 'Cpanel::RoR::RoR_init();' called at cpanel.pl line 4526 main::modloader('RoR') called at /usr/local/cpanel/Cpanel.pm line 241 Cpanel::loadmodule('RoR') called at cpanel.pl line 4533 main::api2_preexec('RoR', 'needsimport') called at cpanel.pl line 1156 main::cpexectag('<?cp RoR::needsimport(%,) ?>') called at cpanel.pl line 4361 main::dotag(undef) called at cpanel.pl line 4250 main::cpanel_parseblock('SCALAR(0x8f6b30c)') called at cpanel.pl line 4204 main::cpanel_parse('GLOB(0xa6ed3c0)') called at cpanel.pl line 1027
    [a fatal error or timeout occurred while processing this directive]
    Undefined subroutine &Cpanel::RoR::api2 called at (eval 66) line 1. eval '$apiref = Cpanel::RoR::api2(\'needsimport\');' called at cpanel.pl line 4535 main::api2_preexec('RoR', 'needsimport') called at cpanel.pl line 1156 main::cpexectag('<?cp RoR::needsimport(%,) ?>') called at cpanel.pl line 4361 main::dotag(undef) called at cpanel.pl line 4250 main::cpanel_parseblock('SCALAR(0x8f6b30c)') called at cpanel.pl line 4204 main::cpanel_parse('GLOB(0xa6ed3c0)') called at cpanel.pl line 1027
    [a fatal error or timeout occurred while processing this directive]
    Api2: needsimport is missing from Cpanel::RoR's api2 function. Perhaps you mispelled needsimport. at cpanel.pl line 4538. main::api2_preexec('RoR', 'needsimport') called at cpanel.pl line 1156 main::cpexectag('<?cp RoR::needsimport(%,) ?>') called at cpanel.pl line 4361 main::dotag(undef) called at cpanel.pl line 4250 main::cpanel_parseblock('SCALAR(0x8f6b30c)') called at cpanel.pl line 4204 main::cpanel_parse('GLOB(0xa6ed3c0)') called at cpanel.pl line 1027
    [an error occurred while processing this directive] -->


    How to fix that ?

    Thanks in advance
     
  2. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    First, ensure you are on one of the latest builds (check the bottom of http://layer2.cpanel.net). If you are on the latest build, then run:

    Code:
    /scripts/checkperlmodules
     
  3. kinsky

    kinsky Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    46
    Likes Received:
    0
    Trophy Points:
    6
    I'm currently use cPanel 11.10.0-R16448.
    I did run /scripts/installruby (i choose mongrel 1.0.1 (ruby)) and /scripts/checkperlmodules.. all process is done with no errors

    but i still have a same messages when accessing ruby on rails from cPanel client

    is there something I miss ?

    Thanks in advance
     
  4. cPanelNick

    cPanelNick Administrator
    Staff Member

    Joined:
    Mar 9, 2015
    Messages:
    3,426
    Likes Received:
    2
    Trophy Points:
    38
    cPanel Access Level:
    DataCenter Provider
    RoR support is only enabled in EDGE
     
  5. blweb

    blweb Active Member

    Joined:
    Oct 1, 2004
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    This might a redudant questions, when will it be supported? I am presuming sometime in september, under "release or stable" possibly?

    thanks.

     
  6. dom974

    dom974 Active Member

    Joined:
    Jun 24, 2007
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    I think it will be supported and you will get the stage 2 update on CURRENT (september i think)
     
  7. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Most (if not all) of what is in EDGE now will trickle down to the other builds with the release of cPanel 11 Stage 2 :).
     
  8. psionblue

    psionblue Member

    Joined:
    Dec 13, 2006
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    So to get done with a release the features are being held for another release?
     
  9. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    Essentially, features that are integrated with or will benefit substantially from EasyApache 3 are being held for Stage 2, when EasyApache 3 will be released (note EDGE is already in Stage 2). Complete RoR support is one of those features that will benefit from EasyApache 3 hence it is currently in EDGE but not CURRENT, RELEASE or STABLE.
     
  10. dom974

    dom974 Active Member

    Joined:
    Jun 24, 2007
    Messages:
    41
    Likes Received:
    0
    Trophy Points:
    6
    Sure :) But when will the CURRENT / RELEASE stage 2 be available ?

    Dominique
     
  11. JamieD

    JamieD Well-Known Member

    Joined:
    Sep 3, 2003
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    Hi David,

    Do you have a full list of what Ruby on Rails features we can expect to be in stage 2. Also do you have information on how the software will be setup, e.g. will we be able to control mongrel clusters through cpanel, will you be using apache proxy_balancer? etc.

    Thanks
     
  12. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    You can find this information at: http://www.cPanel.net/cpanel11
     
  13. cPanelDavidG

    cPanelDavidG Technical Product Specialist

    Joined:
    Nov 29, 2006
    Messages:
    11,279
    Likes Received:
    8
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    I don't have a full list yet as it seems to be improving on a daily basis. Definitely expect some more control over Ruby on Rails functionality. Poking around Stage 2 as it stands right now, it does have some nifty new functionality such as Fast CGI support and mod_proxy support.

    I'll preface the next statement by saying I'm not terribly familiar with RoR terminology. However, I do not anticipate we will be supporting clustering of servers for RoR with Stage 2.
     
Loading...

Share This Page