Problem when use /scripts/installruby

frontcode

Member
Oct 21, 2012
8
0
1
NL
cPanel Access Level
Root Administrator
Hello got a problem with the script that installs ruby..
When i try to do that i get the following massage:

Code:
warn [installruby] Unable to locate gem binary.
info [checkccompiler] /root/.cpanel/datastore/Cpanel::Sys::Compiler::test_compile_gcc
C compiler (/usr/bin/gcc) OK (cached Sun Sep 22 20:11:44 2013)
Tuned C compiler not available because it is not enabled
info [installsqlite3] Sqlite3 is already installed.
Installing rubygems version: 1.3.7
Using Dir: /home/cprubygemsbuild/rubygems-1.3.7
Setting up rubygems ...
./lib/rubygems.rb:11:in `require': no such file to load -- thread (LoadError)
        from ./lib/rubygems.rb:11
        from setup.rb:24:in `require'
        from setup.rb:24
Removing source directory /home/cprubygemsbuild
warn [installruby] Unable to locate gem binary.
warn [installruby] Unable to locate gem binary.
open3: exec of uninstall -I -x -a -v >1.8.25 rubygems-update failed at /usr/local/cpanel/Cpanel/SafeRun/Dynamic.pm line 86
can someone help me to fix this..i must install FLVtool2 and it needs ruby for it..

thank you..
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,913
2,201
363
Hello :)

Please try adding the "force" flag to see if that allows the installation to proceed. EX:

Code:
/scripts/installruby --force
Thank you.
 

hackboys

Active Member
Feb 12, 2008
34
2
58
Same problem! Please help! How to install ruby?

Code:
[email protected] [~]# /usr/local/cpanel/scripts/installruby
Removing source directory /home/cprubybuild
Installing rubygems version: 1.3.7
Using Dir: /home/cprubygemsbuild/rubygems-1.3.7
Setting up rubygems ...
warn [installruby] rubygems install failed: Ruby is not installed; can't install rubygems

Removing source directory /home/cprubygemsbuild
warn [installruby] Unable to locate gem binary.
warn [installruby] Unable to locate gem binary.
open3: exec of uninstall -I -x -a -v >1.8.25 rubygems-update failed at /usr/local/cpanel/Cpanel/SafeRun/Dynamic.pm line 86