-
Notifications
You must be signed in to change notification settings - Fork 67
Windows
- Head over to http://rubyinstaller.org and get the latest Ruby. 32 or 64 bit doesn't matter.
- Install Ruby, making sure to indicate you add Ruby to your PATH. For Ruby 2.4+ you will be asked if you want MSYS2 - keep that box checked. A command prompt will come up with three options about MSYS2 - choose (3), MSYS2 and MINGW devleopment toolchain. This will start up another installer to install MSYS2. Once this is all done, you have Ruby!
- Open up a Command Prompt (Start Menu, type
cmd
) - Run
gem install squib
-
cd
to the directory of your choosing squib new hello-world
cd hello-world
ruby deck.rb
The new version from rubyinstaller.org for the Ruby 2.4 series has a new set of C compilers built in (instead of DevKit). You should install these.
Nokogiri is the most hated gem in the Ruby community, and unfortunately Squib needs to depend on it. From time-to-time we have compatibility problems with Windows and Nokogiri. If you have problems, please reach out to us on StackOverflow (tags squib
and ruby
). Post your solutions here too.
As of now (June 21, 2017), all is quiet on the Nokogiri front. Hopefully...
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.
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.
Install: Windows OSX Linux Cygwin
Getting Started
Important
Advanced Squibbing
- The Mighty text Method
- Layouts
- Manipulating PNGs
- Manipulating SVGs
- Vector back end
- Rendering both BW and Color
- Colors
- Configuration Options
Real Project Histories
Squiblets
- Category specific template text
- Combining Multiple Columns
- One Icon Per Location
- One Location, Multiple Icons
- Google Sheets
- Rake Rendering Modes
- Autoscale Fonts
- Marketing Materials
- Autobuild with Guardfiles
- Wireframing with an SVG Editor
- Front to Back Printing
- Versioning Practices
- Icon Library: FontAwesome
- Icon Library: GameIcons
- Combining Multiple Columns
- Combine Multiple CSV Files
- Switch card background or invert theme
Tools
Contributing