Closed joshcooper closed 10 years ago
Oh, man, I really don't want to maintain two separate gems for win32-api, especially since I'm trying to wean people off of it. Any chance you could report this as a bug in Bundler?
Looks like you reported it, thanks:
Sure thing, I'll close this for now.
Hi @djberg96, I've been trying to use bundler for a project that has dependencies on
ffi
andwindows-api
. The Gemfile is:When run on ruby 1.9.3 (x86) everything works:
When run on ruby 2.0 (x64) the
ffi
gem installs, but for some reason bundler resolves dependency info, and tries to installwin32-api
version 1.4.8, which is the pre-ffi version:Note I'm trying to do this without relying on the DevKit, since it won't necessarily be installed.
However, if I manually install the gems, using ruby's gem command, it works, I get the universal
win32-api
version as expected:I've even tried explicitly specify
win32-api
in my Gemfile:But it appears bundler doesn't match on
universal
gems, and is likely a bug. I am guessing the same issue doesn't trigger withffi
, because version 1.9.3 is published asx86
andx64
.Would you be willing to publish
win32-api
as bothx86
andx64
?