Devkit

 

you will see these error message below when install some gems

 

Please update your PATH to include build tools or download the DevKit

from 'http://rubyinstaller.org/downloads' and follow the instructions

at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'

An error occurred while installing json (1.7.7), and Bundler cannot continue.

Make sure that `gem install json -v '1.7.7'` succeeds before bundling.

 

the reason is we want rubygems to build c-based extension without squawking , the DevKit is a toolkit 

that makes it easy to build and use native c/c++ extensions such as RDiscount and RedColth for ruby

on Windows 

 

so the solution is :

install the Devkit then init it like this
Devkit
 

you can get it from here http://rubyinstaller.org/add-ons/devkit/

你可能感兴趣的:(devkit)