-
-
Notifications
You must be signed in to change notification settings - Fork 328
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
Problems installing byebug on Windows #175
Comments
Hi! I can't be very helpful here since I don't use Windows nor have access to a Windows box. However, although those warnings could be fixed inside byebug, other warnings are also reported inside Ruby sources, so I guess the problem is that your ruby was compiled with a wrong configuration. These compilation problems in Windows have been very common since the beginning of byebug. Ideally I'd like to ship precompiled extensions for the most common platforms, try compiling the extension on the fly for "unsupported" platforms and default to a extension-less byebug if compilation fails. I think this is something similar to what concurrent-ruby does. But there's a long way to go for this yet. Unfortunately none of this is helpful for you to fix the problem. Maybe someone can step in and help you properly get this working. |
I'm going to close this because the OP didn't reply anymore. |
It's better to keep the default compilation flags (that were most likely used to compile Ruby in the target system). The `-Werror` flag is specially harmful since I think it's been preventing successful installation on some systems (Windows). I've been getting reports about failed installations in Windows (#175, #226) where installation fails on some warnings on Ruby header files. I think removing this flag should allow `byebug` to be properly installed on those systems. Also, remove a couple of specific flags for clang compilations, since we no longer care for a warning free compilation.
I am new to ruby and trying to setup my dev environment (Windows 10). I have installed ruby and rails but cannot install byebug. From what I read I need the DevKit first. So I installed it by following the guide here:
https://github.com/oneclick/rubyinstaller/wiki/Development-Kit
and then tried to install the gem but have no luck.
I have tried to uninstall and then force install DevKit but still cant get byebug installed.
This is what I am seeing:
Is there another way around this?
Thanks
The text was updated successfully, but these errors were encountered: