• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue Failed to install the {ruby} extension ONYX

GabrielleC

New Pleskian
Hey im Getting this error is this a reported error i did do a search but nothing came up for ONYX

Error: Failed to install the extension:
Execution of /opt/psa/admin/plib/modules/ruby/scripts/post-install.php failed with exit code 1 and the output:


[2016-08-26 16:07:26] ERR [panel] {}
ERROR:rubymng:[Errno 2] No such file or directory: '/var/lib/rbenv/versions/'
:
0: /opt/psa/admin/plib/modules/ruby/library/RubyManager.php:58
PleskExt\Ruby\RubyManager::_call(array, boolean true)
1: /opt/psa/admin/plib/modules/ruby/library/RubyManager.php:12
PleskExt\Ruby\RubyManager::getHandlers()
2: /opt/psa/admin/plib/modules/ruby/library/Repository/HandlerRepository.php:15
PleskExt\Ruby\Repository\HandlerRepository::scan()
3: /opt/psa/admin/plib/modules/ruby/scripts/post-install.php:11
ERROR: pm_Exception: {}
ERROR:rubymng:[Errno 2] No such file or directory: '/var/lib/rbenv/versions/'
(RubyManager.php:58)
 
Yo this solution worked for me... Redhat / CentOS 7

Depending on environment you may or may not need "sudo"

git clone git://github.com/sstephenson/rbenv.git /usr/local/rbenv

Basically it wants the ruby manager rbenv installed .... that will put files where they should be and not edit your startup file / .bash_profile , this is because for me i use RVM to manage and install my ruby installations .. I'm just more familiar and the documentation on rvm.io is MUCH more thorough !! Hope this helps..

FTR - PLESK is the s&*^ !!!!!! You guy NAILED it ;) centos / whm is a joke now!!!! lol
 
Back
Top