Attempting from the command line, produces permissions errors. I eliminated the first by giving write access to the main gems folder, however, the second permission error is related to /usr/bin and quite honestly, not gonna happen.

In any-case, anyone encountered and found a resolution for the error above?

which then produces the error message you see in cPanel. It is intermittent and annoying. Sometimes clearing the cache files (/home/usr/.cpanel/datastore/_scripts_gemwrapper*) will then allow the list be displayed, but not always.

Staff Member

/usr/bin/gem:9:in `require': No such file to load -- rubygems (LoadError)
from /usr/bin/gem:9

Should add that this is cpanel 16448

Click to expand...

Hmm. Are you on a 64-bit OS? Did you install ruby some time ago? There was a bug in the ruby installer, since fixed, that *sounds* similar to that. You might try /scripts/installruby again to resolve that error.

Hmm. Are you on a 64-bit OS? Did you install ruby some time ago? There was a bug in the ruby installer, since fixed, that *sounds* similar to that. You might try /scripts/installruby again to resolve that error.

Click to expand...

Nope im on rhel4 32bit. we did do the ruby install once before when we first upgraded to cPanel 11 some months ago. Ill rerun the script and see what happens.

I'm still getting that issue. I've tried a couple different gems that I assumed weren't binary leading, however as I have no knowledge of Ruby myself its a needle in a haystack I suppose (and for once, Google's answers are sparse.)

I've tried a good 20 to 30 gems though... I couldn't list which they were, however I'm assuming this is a bit beyond the binary issue now. It doesn't work at all. I'm unable to list what gems are available either. Searching is fine.

I'm still getting that issue. I've tried a couple different gems that I assumed weren't binary leading, however as I have no knowledge of Ruby myself its a needle in a haystack I suppose (and for once, Google's answers are sparse.)

I've tried a good 20 to 30 gems though... I couldn't list which they were, however I'm assuming this is a bit beyond the binary issue now. It doesn't work at all. I'm unable to list what gems are available either. Searching is fine.

I've killed the cache a number of times in my attempts now.

Click to expand...

This is a known issue with cPanel and Ruby integration, one we've been trying to track down. The only work around right is to do the gem install from the command line.