cPanel Official Ruby installation script failed

neo4242002

Well-Known Member
Jun 28, 2005
119
0
166
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:
 

tweakservers

Well-Known Member
Mar 30, 2006
379
0
166
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
 

neo4242002

Well-Known Member
Jun 28, 2005
119
0
166
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:(
 

Tymsah

Well-Known Member
Apr 6, 2007
151
0
166
cPanel Access Level
Root Administrator
hi,

WMH ,

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


Regards,
 
Last edited:

neo4242002

Well-Known Member
Jun 28, 2005
119
0
166
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 :(
 

neo4242002

Well-Known Member
Jun 28, 2005
119
0
166
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?:(