You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ gem install nokogiri -v '1.11.0.rc2' --source 'https://rubygems.org/'
Fetching nokogiri-1.11.0.rc2-x64-mingw32.gem
ERROR: Error installing nokogiri:
invalid gem: package is corrupt, exception while verifying: undefined method `size' for nil:NilClass (NoMethodError) in D:/install/Ruby27-x64/lib/ruby/gems/2.7.0/cache/nokogiri-1.11.0.rc2-x64-mingw32.gem
if I run:
$ gem install nokogiri
ERROR: Error installing nokogiri:
The last version of nokogiri (>= 0) to support your Ruby & RubyGems was 1.10.9. Try installing it with `gem install nokogiri -v 1.10.9`
nokogiri requires Ruby version >= 2.3, < 2.7.dev. The current ruby version is 2.7.1.83.
this is a bug? I can't solve the issuse ?
Do I need to rollback Ruby 2.7.0?
help!
The text was updated successfully, but these errors were encountered:
Hi, sorry you're having problems, I'll try to help.
The first error message, "invalid gem: package is corrupt" is likely due to an incomplete or corrupted file downloaded (if you google for this phrase you'll see lots of hits, and this seems to be more common for larger gems -- and the Nokogiri windows gem file is quite large). Please remove your gem cache and try to re-download it.
The second error, "nokogiri requires Ruby version >= 2.3, < 2.7.dev", is because only release candidates support Ruby 2.7 precompiled on Windows. See #2029 for background and for updates.
flavorjones
changed the title
package is corrupt, exception while verifying: undefined method `size' for nil:NilClass (NoMethodError) in D:/install/Ruby27-x64/lib/ruby/gems/2.7.0/cache/nokogiri-1.11.0.rc2-x64-mingw32.gem
installation error: "package is corrupt, exception while verifying"
Jul 4, 2020
window10 64x
I want to install nokogiri -v '1.11.0.rc2'
if I run:
this is a bug? I can't solve the issuse ?
Do I need to rollback Ruby 2.7.0?
help!
The text was updated successfully, but these errors were encountered: