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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

remove ruby on rails from Cpanel server

Discussion in 'General Discussion' started by zerpex, Dec 31, 2011.

  1. zerpex

    zerpex Member

    Joined:
    Oct 17, 2011
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    51
    cPanel Access Level:
    Root Administrator
    Hello,

    I want to remove Ruby on rails on my Cpanel server.. How can I do that?

    I can only find the installruby in the scripts folder.

    I don't just want to hide it for my customers.. I want to get it removed.

    Anyone that can help?
    Thank you a lot

    Best regards,
    Lucas R
     
  2. JeffP.

    JeffP. Well-Known Member

    Joined:
    Sep 28, 2010
    Messages:
    164
    Likes Received:
    14
    Trophy Points:
    68
    Hi Lucas,

    Based on your helpful suggestion from the ticket you opened earlier, I've filed case ID # 56053 with our documentation team regarding the addition of documentation to our RubyonRails page.

    For anyone else interested, these are currently the files and directories that are installed when /scripts/installruby is run:

    * Files

    Code:
    /etc/init.d/ror (this is the Ruby on Rails init script)
    /usr/bin/ruby (this is the ruby binary)
    /usr/bin/gem (this is the gem binary)
    
    * Directories

    Code:
    /usr/lib/ruby/ (this is the ruby lib directory)
    /root/.gem/
    
     
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,622
    Likes Received:
    26
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Actually, there is one file you would likely want to remove or move to ensure ruby and rails are no longer on your system:

    /usr/bin/rails

    Since rails requires ruby and ruby gems to function, rails might as well be removed or moved.
     
  4. 000

    000 Well-Known Member

    Joined:
    Jun 3, 2008
    Messages:
    154
    Likes Received:
    0
    Trophy Points:
    66
    Then with WHAT
    COMMAND, COMMANDS

    we can remove ruby and RAILS from our server?

    We no likre RUBY & RAILS

    How we remove ?

    THANKS
     
  5. 000

    000 Well-Known Member

    Joined:
    Jun 3, 2008
    Messages:
    154
    Likes Received:
    0
    Trophy Points:
    66
    If we remove this file RUBY no is actived to users, but we like REMOVE from server to free RAM.

    No like only INACTIVED, we too need REMOVE ALL librarys, DOCS, delete/remove RUBY GEM(s), etc...

    We no like RUN nothing of RUBY.

    Please help.
     
  6. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,622
    Likes Received:
    26
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello,

    The locations of most the files and folders were already listed by myself and Jeff.

    Please note that I will not list commands on how to remove files and folders in Linux, since I would then be personally responsible of you were to destroy your server by removing the wrong files or folders due to using a recursive removal command. As an option, I would suggest utilizing a search engine if you are unfamiliar with the basic Linux shell commands to remove files and folders.

    Thanks!
     
  7. 000

    000 Well-Known Member

    Joined:
    Jun 3, 2008
    Messages:
    154
    Likes Received:
    0
    Trophy Points:
    66
    Thanks.

    Ok, files is located in [dir/dir], but PLEASE PATIENCE:

    Samplely with remove files we recovery RAM used by RUBY ?
    Or we need do more actions and no [ only remove files ]

    Thanks you very much by you comprention: my english is poor and:
    We like RECOVERY RAM USED BY RUBY

    :)
     
  8. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,622
    Likes Received:
    26
    Trophy Points:
    238
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    RAM usage only occurs if a program or process is running to utilize it. If no-one is able to use ruby, then no RAM usage would occur.
     
  9. 000

    000 Well-Known Member

    Joined:
    Jun 3, 2008
    Messages:
    154
    Likes Received:
    0
    Trophy Points:
    66
    Thanks.

    My RAM is minor, my RAM reduced AFTER of I install RUBY.

    ONLY by this motive I like UNISTALL RUBY.

    I like RECOVERY my RAM
     
  10. Duplika

    Duplika Well-Known Member

    Joined:
    Feb 26, 2005
    Messages:
    56
    Likes Received:
    0
    Trophy Points:
    156
    Location:
    Buenos Aires, Argentina
    cPanel Access Level:
    Root Administrator
    Twitter:
    A script to easily remove Ruby on rails would be great.
     
Loading...

Share This Page