General Steps to install Ruby DevKit
- Extract downloaded DevKit to a folder inside the main Ruby folder
- Go inside the extracted DevKit folder
- ruby dk.rb init
- ruby dk.rb review
- ruby dk.rb install
To install JSON
gem install json -v '1.7.7'To install DevKit - This will also write over any previous config and omit any warnings
ruby dk.rb install --force
These solve the error messages I received while trying to install everything on Windows:
ERROR: Error installing json:
ERROR: Failed to build gem native extension.
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.
ruby dk.rb install
[INFO] RubyGems override already in place for <ruby_path>, skipping.
[WARN] DevKit helper library already exists for <ruby_path>, skipping.