Cannot install JSON gem in rails using windows

You are working with Windows, so the RubyInstaller Development Kit may help you:
http://rubyinstaller.org/add-ons/devkit/

The devkit installs a C-compiler (and some other stuff) to compile C-written parts.

Install it and try again to install the gem – perhaps with option --platform=ruby.

Details can be found at https://github.com/oneclick/rubyinstaller/wiki/Development-Kit

Leave a Comment