Skip to content

tudorpavel/advent-2023

Repository files navigation

Advent of Code 2023 - Ruby

Solving Advent of Code 2023 using Ruby with RSpec unit testing.

After Setup, to run a particular day run:

ruby day01/main.rb < day01/input.txt

Setup

Ruby version used:

asdf install ruby 3.2.2

Update bundler:

gem install bundler:2.4.22

Install dependencies:

bundle install

Development checks

Run tests with:

bundle exec rspec

Check coding style with:

bundle exec rubocop