Starter project for a chess based TDD exercise in Ruby
Execute
$ bundle install
To run the tests, use $ bundle exec rake test
, which will run all the tests in the files located in the test
directory. Alternatively, you can run each test/group of tests individually in RubyMine by clicking the green arrow to the left of the test function/class
Make sure to have installed Ruby through the following instructions:
Install Ruby+Devkit from RubyInstaller. When prompted to run ridk install
at the end, go ahead with it, and then make sure to run all 3 commands in order:
- MSYS2 base installation
- MSYS2 system update
- MSYS2 and MINGW development toolchain
Make sure this Ruby version is set in the RubyMine settings
Alternatively, you may be able to run the GUI through WSL if you are on Windows 11 or if you set up a standalone X server and forward it through, though this is somewhat tricky.
On the Mac, make sure to:
- Have Homebrew installed
- Run this Homebrew command to have GTK display GUI icons:
brew install adwaita-icon-theme
- (Optional) You can upgrade your GTK3/GTK4/GTK+ by running:
brew install gtk+3
/brew install gtk+4
/brew install gtk+
Should work out of the box on Linux, but if not, make sure you have GTK3 installed (libgtk3-dev
on Debian based distributions)
The gem is available as open source under the terms of the MIT License.