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.

cPanel Official Ruby installation script failed

Discussion in 'General Discussion' started by neo4242002, Jan 6, 2008.

  1. neo4242002

    neo4242002 Well-Known Member

    Joined:
    Jun 28, 2005
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    I am trying to install Ruby on Rail on my brand new dedicated server. I am following instructions on Officel cPanel Ruby on Rail doc

    http://www.cpanel.net/docs/ror/index.html

    A) /scripts/installruby went fine

    B) /cpanel/bin/ror_setup I a getting following errors

    Code:
    /usr/local/cpanel/bin/ror_setup
    Can't locate Cpanel/Class/Meta/Class.pm in @INC (@INC contains: /usr/local/cpanel /usr/lib/perl5/5.8.8/i686-linux /usr/lib/perl5/5.8.8 /usr/lib/perl5/site_perl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4 /usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl/5.8.1 /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl .) at /usr/local/cpanel/Cpanel/Class.pm line 9.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Class.pm line 9.
    Compilation failed in require at /usr/local/cpanel/Cpanel/Init/Factory.pm line 4.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Init/Factory.pm line 4.
    Compilation failed in require at /usr/local/cpanel/Cpanel/Init.pm line 4.
    BEGIN failed--compilation aborted at /usr/local/cpanel/Cpanel/Init.pm line 4.
    Compilation failed in require at /usr/local/cpanel/bin/ror_setup line 5.
    BEGIN failed--compilation aborted at /usr/local/cpanel/bin/ror_setup line 5.
    
    Any idea?:confused:
     
  2. tweakservers

    tweakservers Well-Known Member

    Joined:
    Mar 30, 2006
    Messages:
    379
    Likes Received:
    0
    Trophy Points:
    16
    looks like you are missing one of the perl module as in the message "Cpanel/Class/Meta/Class.pm", install the perl module and try to install the RoR
     
  3. neo4242002

    neo4242002 Well-Known Member

    Joined:
    Jun 28, 2005
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    Thanks for the tip.

    would be great if you tell me how to install perl modules?

    Is this something i can do from WHM root or SSH? IF so how :confused:

    What should be the command:(
     
  4. Tymsah

    Tymsah Well-Known Member

    Joined:
    Apr 6, 2007
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    hi,

    WMH ,

    Click - Install a Perl Module or
    in SSH - /usr/local/cpanel/bin/checkperlmodules or /scripts/checkperlmodules


    Regards,
     
    #4 Tymsah, Jan 6, 2008
    Last edited: Jan 6, 2008
  5. neo4242002

    neo4242002 Well-Known Member

    Joined:
    Jun 28, 2005
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    Thanks Tymsah,

    I have installed Meta::class module from WHM root. But I am still getting same error :(

    I then Run following line from the script manually

    Code:
    /usr/local/cpanel/bin/rormgr --startboot

    But still now luck :( I cannot see RoR icon on my cPanel :(
     
  6. neo4242002

    neo4242002 Well-Known Member

    Joined:
    Jun 28, 2005
    Messages:
    119
    Likes Received:
    0
    Trophy Points:
    16
    Guys,

    As per my last post, the script didn't work even after I install Meta::class perl module. and then I run the command manual. still I had no luck. However, I found from another post that I need X3 team to get Ruby on Rail icon on my cPanel.

    AND IT DID THE WORK !:)

    Its all okay now. But my very first RoR application build through cpanel giving following error on my screen.:eek::eek:

    Code:
    Bad Gateway
    
    The proxy server received an invalid response from an upstream server.
    Apache Server at outscope.us Port 80
    Any clue on this guys?:(
     
Loading...

Share This Page