Install / Update Ruby on windows

  1. Install using downloads from RubyInstaller
  2. Check if correct version is installed with ruby --version
    • if not correct version reported check PATH
    • Go to Control Panel -> System -> Advanced system settings -> Environment Variables
    • Check what is added in path variable
  3. Download DevKit / unzip and configure
    • unzip package
    • go to unziped dir, in Git Bash preferably, and run:
    ruby dk.rb init
    ruby dk.rb install
    gem install rdiscount --platform=ruby