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!

Ruby Gem "There was a problem fetching the list of available modules."

Discussion in 'General Discussion' started by Krydos, Jun 2, 2012.

  1. Krydos

    Krydos Well-Known Member

    Joined:
    Jun 2, 2012
    Messages:
    48
    Likes Received:
    4
    Trophy Points:
    58
    cPanel Access Level:
    Root Administrator
    On one of our servers when you go to:

    cPanel >> Ruby Gems >> Show Available Ruby Gem(s)

    It returns the error "There was a problem fetching the list of available modules."

    When I go to:

    WHM >> Software >> Module Installers >> Ruby Gem Manage >> Show Available Ruby Gem(s)

    It loads up all 462 pages just fine and everything works as expected.

    I have tried increasing the available memory in:

    WHM >> Server Configuration >> Tweak Settings >> cPanel Process Memory

    but that didn't help either. Here is the error in the logfile that is produced when a user tries list the ruby gems:

    /usr/local/cpanel/logs/error_log
    Code:
    
    /home/<username>/tmp/rubygems-1.3.7/lib/rubygems/source_index.rb:68:in `installed_spec_directories': undefined method `path' for Gem:Module (NoMethodError)
            from /home/<username>/tmp/rubygems-1.3.7/lib/rubygems/source_index.rb:58:in `from_installed_gems'
            from /home/<username>/tmp/rubygems-1.3.7/lib/rubygems.rb:883:in `source_index'
            from /home/<username>/tmp/rubygems-1.3.7/lib/rubygems/gem_path_searcher.rb:81:in `init_gemspecs'
            from /home/<username>/tmp/rubygems-1.3.7/lib/rubygems/gem_path_searcher.rb:13:in `initialize'
            from /home/<username>/tmp/rubygems-1.3.7/lib/rubygems.rb:841:in `new'
            from /home/<username>/tmp/rubygems-1.3.7/lib/rubygems.rb:841:in `block in searcher'
            from <internal:prelude>:10:in `synchronize'
            from /home/<username>/tmp/rubygems-1.3.7/lib/rubygems.rb:840:in `searcher'
            from /home/<username>/tmp/rubygems-1.3.7/lib/rubygems.rb:479:in `find_files'
            from /home/<username>/tmp/rubygems-1.3.7/lib/rubygems.rb:983:in `load_plugins'
            from /home/<username>/tmp/rubygems-1.3.7/lib/rubygems.rb:1139:in `<top (required)>'
            from <internal:lib/rubygems/custom_require>:29:in `require'
            from <internal:lib/rubygems/custom_require>:29:in `require'
            from setup.rb:24:in `<main>'
    Cannot spawn gem installer: No such file or directory at /usr/local/cpanel/scripts/gemwrapper line 40.
    
    Any ideas why it works through WHM, but not through cPanel? Any ideas of other things I can try to get this working?
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice