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.

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 Member

    Joined:
    Jun 2, 2012
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    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