Ruby and Gem Update Crashed OpenNebula

I performed a Ruby and gem update on the Open server to 1.9 and Gem to 2.4. As a result, it looks like it uninstalled the 1.8 version of Ruby and it crashed OpenNebula and the system no longer recognizes commands such as “one restart”. Would this require a reinstall of Open Nebula or is there something I could do to bring the environment back up? All the configuration files exist. Please let me know your thoughts. Thanks.

It should not be needed. What are the problems you have? any log in
oned.log? error output of commands?