Advent of Code 2024 solutions in Ruby
- Ruby 3.3.6 (but older versions may work).
You can run any given day like so:
# From the root of the repository
$ cd ./2024/ruby/day1
$ ./part1
My own puzzle input is stored alongside the solutions. The scripts all accept a filename as an argument, so you can use your own input (or, perhaps, the sample input given with the puzzle description):
$ cd ./2024/ruby/day1
$ ./part1 path/to/some/input_file
lol