-
-
Notifications
You must be signed in to change notification settings - Fork 2k
nokogiri installing is ignored (on windows ruby 2.0.0-p0 64bit) #2356
Comments
It seems like there is no nokogiri gem for x64-mingw32: http://rubygems.org/gems/nokogiri/versions. I believe Bundler should say there is an error, and no gem can be found. Do you agree? |
Thank you for your reply. But, I has repeated 2-3 times after clean files except Gemfile, also error message is nothing. Addition to it, following Gemfile makes a error message.
|
Yes, it does not give an error message. I am sorry. :( I believe this is a bug, and the fix would be to raise an error. Does that seem right to you? |
Don't be. :-)
Yes, I think that its behavior is right, too. |
P.S.
I understood as that you disagree that it is bug. But, it is my misreading and I should answer "Yes, I do." I'm sorry, André. :-< |
No problem! I will try to figure out why there is no error soon. :) |
@indirect Any idea on this? The strange thing is deleting Gemfile.lock and doing a |
As noted above, there is no nokogiri gem for x64-mingw32. I believe Bundler is trying to use the x86 gem because there isn't one for your actual platform, but I'm pretty sure that's a bug. On Apr 23, 2013, at 9:43 PM, Dave Myron [email protected] wrote:
|
Right. It is strange that |
I have a similar problem too, on Windows 7 x64 and Ruby 2.0.0-p195-x64 (RubyInstaller); the Gemfile includes gem 'win32-dir', platforms: :mingw But Bundler ignores this line; and |
I tried to find where Bundler performs the platform checking, but I had no success. Does anyone know it? |
According to the maintainer of the pg gem this issue also currently blocks the installation of pg on Windows. |
This fixes github issue rubygems#2356 .
PR merged! |
Hi, thank you for release of bundler 1.3.0.
I have found strange work. I installed ruby 2.0.0-p0 (x64) and DevKit mingw64-64 from RubyInstaller 7-zip archive to Windows 8 64bit. Next, I installed bundler 1.3.0 and try to bundle install for nokogiri. So nokogiri is ignored and not installed.
I have expected that nokogiri installing will succeed or simply failed with error messages. But, there was no error message on bundle install. So when I use x86 (32-bit) ruby, nokogiri installing succeeded.
Is its work is expected? If it is not expected, I wish that it is fixed.
Gemfile
Output (on x64 ruby)
Output (on x86 ruby)
Environment
The text was updated successfully, but these errors were encountered: