/adventofcode2021

Advent of Code 2021 in Ruby

Primary LanguageRuby

Advent of Code 2021

This year in Ruby (2.7).

Usage

This repo has a .ruby-version file, which is used by rbenv. You could use this to have the correct Ruby version.

Install the required gems:

bundle install

Run puzzle specs for a specific day:

bundle exec rspec day01

Run specs for all days:

bundle exec rspec .