title: Ruby - "bundle install" json gem error
body: <p>I am working on Windows 10. I successfully installed Ruby, MSYS2 and DevKit, but after trying to run the following command:</p>
  
  <pre><code>bundle install
  </code></pre>
  
  <p>it throws me an error</p>
  
  <pre><code>An error occurred while installing json (1.8.1), and Bundler cannot continue.
  Make sure that `gem install json -v '1.8.1'` succeeds before bundling.
  </code></pre>
  
  <p>I tried the solution with</p>
  
  <pre><code>gem install json -v '1.8.1'
  </code></pre>
  
  <p>but it still doesn't work for me. 
  Does anybody knows how i can fix the error?</p>