New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Distribution gems affects OpenNebula #4304
Comments
I am performing a fresh install of OpenNebula 5.10 on Debian 9 and ran into this exact issue. I cannot start |
Just an FYI, my hacky fix for my Debian 9 upgraded system. I installed rbenv as the |
Remove vendor_ruby and site_ruby directories from $LOAD_PATH, so that distribution gems installed directly into loadable path without need to use rubygems are not loaded by require.
(cherry picked from commit 4baf2a3)
Fixed in master (target stable 5.12.0) by removing vendor / site directories d064ee6. For 5.10.x, the workaround is to uninstall clashing distribution packages |
Description
Although we are using our own gem location (
/usr/share/one/gems-dist
) with all packaged Ruby dependencies to simplify installation and isolate from gems installed in the system (via distribution packages orgem
tool), it looks like we still might be affected by clashing gems installed in the system. E.g., Sinatra and Rack on Debian-like systems:Expected behavior
Wrong version of (Rack/Sinatra) gem installed system-wide doesn't affect OpenNebula (Sunstone).
Details
Progress Status
The text was updated successfully, but these errors were encountered: