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.

Help with installing Ruby On Rails

Discussion in 'General Discussion' started by mm1250, Jan 13, 2008.

  1. mm1250

    mm1250 Well-Known Member

    Joined:
    Nov 10, 2006
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    Hello all,

    I have a simple question I think. I'm trying to install Ruby on Rails but I seem to be getting stuck with the 1st step :(

    I'm following the instructions via the cPanel install guide:
    http://www.cpanel.net/docs/ror/index.html

    The problem is when i run this command in SSH:

    root@server [/]# yum list ruby
    bash: yum: command not found

    Sounds kinda stupid, but I though Yum is installed on the server. Am I doing something wrong? This is a dedicated server from ThePlanet i had for about a year.

    Note I'm a Newbie so please go easy on me :eek:
     
  2. cooldude7273

    cooldude7273 Well-Known Member

    Joined:
    Jan 11, 2004
    Messages:
    363
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Roswell, GA
    No yum? What's your OS?
     
  3. mm1250

    mm1250 Well-Known Member

    Joined:
    Nov 10, 2006
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    WHM 11.11.0 cPanel 11.16.0-S18450
    REDHAT Enterprise 4 i686 on standard - WHM X v3.1.0
     
  4. mm1250

    mm1250 Well-Known Member

    Joined:
    Nov 10, 2006
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    Can someone please help me?
     
  5. mm1250

    mm1250 Well-Known Member

    Joined:
    Nov 10, 2006
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    Anyone Please????????? Why no one want's to help for?
     
  6. thewird

    thewird Well-Known Member

    Joined:
    Jan 4, 2006
    Messages:
    54
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Toronto
    If yum isn't on your server, you need to contact your system admin to fix it. Why people run redhat for servers is beyond me.

    thewird
     
  7. Tymsah

    Tymsah Well-Known Member

    Joined:
    Apr 6, 2007
    Messages:
    151
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    /scripts/installruby
     
  8. mm1250

    mm1250 Well-Known Member

    Joined:
    Nov 10, 2006
    Messages:
    108
    Likes Received:
    0
    Trophy Points:
    16
    Hello,

    I ran the installer and it seemed to do all the stuff and I also did afterwards /usr/local/cpane/bin/ror_setup but I got all these errors that came up:

    root@nexxia [/home/admin]# /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/siperl/5.8.8/i686-linux /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7/i686-linux /usr/lib/perl5/site_perl/5.8.7 /usr/lib/perl5/site_perl/55 /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/50 /usr/lib/perl5/site_perl/5.6.2 /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.

    I went and logged into cPanel but the only theing that shows is RubyGems. I also checked the feature manager and Ruby On Rails is checked. So something happened I think to the install.
     
  9. smile

    smile Well-Known Member

    Joined:
    Oct 2, 2004
    Messages:
    68
    Likes Received:
    0
    Trophy Points:
    0
    I get the same problem, has anybody been able to resolve this ?
     
  10. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    So, what do you use for a server? Debian?
     
  11. sirotex

    sirotex Well-Known Member

    Joined:
    Jul 10, 2008
    Messages:
    121
    Likes Received:
    0
    Trophy Points:
    16
    Hehe...Linux? really...use FreeBSD..

    Also if you cannot understand whats wrong when it says no command found for yum, you seriously should re-think having your own Server..
     
  12. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    983
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    Actually, I know FreeBSD & Linux equally well. But seeing that the FreeBSD users on this forum makes themselve superior to everyone else, I can see wht no one wants to help someone who doesn't necesarely work with his server the same way you do. And not everyone is a hacker, so not every should know every little ounce of detail of a server.

    mm1250, you will need to install yum manually before using it. Doing a google for "How to install yum manually on Redhat Linux", I got the following:

    http://imountain.com/blog/2008/09/13/how-to-install-yum-manually-on-redhatrhel-4x-or-centos-4x/


    This also seem useful:

    http://sial.org/howto/yum/
    http://blog.eukhost.com/webhosting/install-yum-utility-on-redhat-4/
     
Loading...

Share This Page