Skip to content
Andy Meneely edited this page Jun 21, 2017 · 10 revisions

Install from rubyinstaller.org

  1. Head over to http://rubyinstaller.org and get the latest Ruby.
  2. Install Ruby, making sure to indicate you add Ruby to your PATH
  3. Open up a Command Prompt (Start Menu, type cmd)
  4. Run gem install squib
  5. cd to the directory of your choosing
  6. squib new hello-world
  7. cd hello-world
  8. ruby deck.rb

Known Issues & Solutions

MSYS2?

The new version from rubyinstaller.org for the Ruby 2.4 series has a new set of C compilers built in (instead of DevKit). TODO finish this...

Nokogiri issues on Ruby 2.4

As of June 21, 2017, the Nokogiri Gem (a gem Squib uses to parse Excel files) has not updated properly to work with Ruby 2.4 on Windows.

They discuss how to fix this here: https://github.com/oneclick/rubyinstaller2/wiki/FAQ#user-content-update-install

DevKit?

For Ruby 2.3 and below you might have the option to use DevKit. You do not need to install DevKit to install Squib. If you want to hack on Squib, however, you will need DevKit to install its development dependencies.

Windows Linux Subsystem?

I followed these instructions to get set up: https://gorails.com/setup/windows/10. I went with rbenv after giving up on rvm and its insanity.

Clone this wiki locally