My attempt at doing Advent of Code 2022 in Ruby, with tests and all the trimmings.
After cloning, and changing into the aoc-2022
directory, run:
$ gem install bundler
$ bundle install
$ rake
This will set everything up and run all the tests.
To run the solution for a particular day:
$ ./aoc-2022 <day>
Or via rake
:
$ rake run <day>
You can run multiple days like this:
$ rake run <day_1> <day_2> ... <day_n>