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.

RubyGems gems not loaded

Discussion in 'General Discussion' started by pkoziel, Mar 11, 2016.

  1. pkoziel

    pkoziel Registered

    Joined:
    Mar 11, 2016
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Location:
    Vancouver
    cPanel Access Level:
    Website Owner
    Hi,

    after installing gem (json) I get this message in cPanel

    You will need to add “/home/username/ruby/gems” to the include path.
    $:.push("/home/username/ruby/gems")​

    I have no ssh access but I can edit .bashrc in FTP. I added export GEM_PATH which I am using locally, didn't work. I tried PATH=$PATH:/home/username/ruby/gems, didn't work.

    What's the correct way to include the gem directory in include path in cPanel? My cron keeps failing with `require': no such file to load -- json (LoadError).

    There is nothing about it at Ruby Gem Installer - Documentation - cPanel Documentation
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    648
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Your access level suggests you do not have root access to this system. Have you reported this issue to your web hosting provider so they can take a closer look?

    Thank you.
     
Loading...
Similar Threads - RubyGems gems loaded
  1. wrender
    Replies:
    5
    Views:
    706

Share This Page