title: Error installing Rails 6.0.2.2 with Ruby 2.7.0.0 - The last version of nokogiri (>= 1.6) to support your Ruby & RubyGems was 1.10.9
body: <p>I am on Windows and running Ruby 2.7.0.</p>
  
  <p>When running <code>gem install rails</code> I get this error:</p>
  
  <pre><code>ERROR:  Error installing rails: 
          The last version of nokogiri (&gt;= 1.6) to support your Ruby &amp; RubyGems was 1.10.9. 
          Try installing it with `gem install nokogiri -v 1.10.9` and then running the current command again
          nokogiri requires Ruby version &gt;= 2.3, &lt; 2.7.dev. The current ruby version is 2.7.0.0.
  </code></pre>
  
  <p>When I run <code>gem install nokogiri -v '1.10.9'</code> I get the same exact error.</p>
  
  <p>I have installed <code>gem install nokogiri -v 1.11.0.rc1 --pre</code> , but I'm still getting the same errors.</p>
  
  <pre><code>$ nokogiri -v 
  # Nokogiri (1.11.0.rc1) 
      ---
      warnings: []
      nokogiri: 1.11.0.rc1
      ruby:
        version: 2.7.0
        platform: x64-mingw32
        description: ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x64-mingw32]       
        engine: ruby
      libxml:
        source: packaged
        patches:
        - 0001-Revert-Do-not-URI-escape-in-server-side-includes.patch
        - 0002-Remove-script-macro-support.patch
        - 0003-Update-entities-to-remove-handling-of-ssi.patch
        - 0004-libxml2.la-is-in-top_builddir.patch
        compiled: 2.9.10
        loaded: 2.9.10
      libxslt:
        source: packaged
        patches: []
        compiled: 1.1.34
        loaded: 1.1.34
  </code></pre>
  
  <p>So, I understand that Ruby 2.7.0 is later than 2.7.dev, but I have the nokogiri gem installed.</p>
  
  <p>Also, everything was working fine with Ruby 2.6.5. I did uninstall it, remove it from the Path, and restart my machine.</p>
  
  <p>If anybody has any ideas I would love to hear them.</p>