-
-
Notifications
You must be signed in to change notification settings - Fork 905
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
Gem installation fails if install path contains a space #2054
Comments
Hi! Thanks for asking this question. This is actually an issue with libxml2's tooling, which uses You could work around this by installing with the "systems library" option, using your distro's libxml2 and libxslt. Check out https://nokogiri.org/tutorials/installing_nokogiri.html for help with that. I've opened https://github.com/sparklemotion/nokogiri/issues/2055 to call for documenting this as a "known issue". Given that this is an upstream issue with libxml2 and its toolchain, I'm going to close this issue. I'm sorry we can't be of more help. |
Thanks, and sorry for the duplicate report. If Nokogiri could detect this when being installed and print a "not supported" error that would be great. I had a quick look over at https://gitlab.gnome.org/GNOME/libxml2 and couldn't see an open issue relating to this limitation. Would it be worth opening one, or is it perhaps just not something they intend to support? |
Thanks for offering to open a ticket -- yes, I think it would be worth it. The old tracker (Gnome's bugzilla) had one, but they're in a weird state now where tickets in the old tracker are still open, but haven't been migrated or gotten any attention for the past year or two. |
A |
Gem installation fails if the installation path contains a space. This may be a slightly more general problem that extends to all characters that require shell escaping.
To Reproduce
The relevant lines in the output are
And in the
install.log
:Looking at the output it's possible that the underlying problem may be in
libxml2
.Expected behavior
The
bundle install
succeeds.Environment
Ruby 2.5.8
Nokogiri 1.10.10
macOS 10.15.5
The text was updated successfully, but these errors were encountered: