-
Notifications
You must be signed in to change notification settings - Fork 43
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 install websocket-driver
fails on Windows when Ruby is installed in a directory with a parentheses in the directory name
#69
Comments
This file contains the entirety of this library's compiler setup: https://github.com/faye/websocket-driver-ruby/blob/master/ext/websocket-driver/extconf.rb I don't think I'm doing anything with directory names explicitly, so the failure must be coming from something |
I am not sure if this is the same issue but too seem to can't install this gem on Windows 10. Here's what I get if I try to run
|
@Ultra-Instinct-05 That looks like a different problem caused by you not having |
@jcoglan I actually uninstalled Ruby and reinstalled it with the devkit (which probably correctly installed mysys2 and mingw to compile the native gem extensions properly). It now works. Thanks ! |
I had a similar issue when installing to a directory with a space in the file path. I moved my entire ruby installation from
into
and was able to install websocket-driver 0.7.4 properly using PowerShell as Administrator with
Unfortunately, I didn't think to copy the gem_make.out file before it was overwritten, but the last couple lines were:
I'm guessing make doesn't escape Windows paths correctly, hence the errors. Hope this helps in future troubleshooting. Windows 10 Home OS build 19041.985 |
Is this an ongoing problem or can I close this issue. I'm not able to provide Windows support but here's what I've been responding to most compile issues on this repo: We don't do anything special with the extension config, we just tell rubygems about it:
For development we use I'm not able to provide support for OSes other than Ubuntu and macOS, but usually compiler issues aren't to do with this gem specifically but some other problem with the environment gems are being compiled in. |
请问解决了吗 |
Long story short I have Ruby installed in a folder called 'rubystuff(code)', and I ran into a syntax error when trying to bundle install my project that has a websocket-driver dependency.
I reinstalled Ruby into a new folder without parentheses and the bundle install succeeded without issue.
I figure this is an issue with the way this gem is handling directory names, where it's trying to invoke a function called 'rubystuff' where none exists. I have had no issues installing other gems
The text was updated successfully, but these errors were encountered: