Skip to content

Latest commit

 

History

History
39 lines (20 loc) · 696 Bytes

File metadata and controls

39 lines (20 loc) · 696 Bytes

Ruby Dojo Boilerplate

This is a boilerplate for dojo ruby apps.

It takes care of:

  • Ruby version.
  • Loading gemfile dependencies.
  • Source loading for classes and modules.
  • TDD enviroment using rspec.

Working with the boilerplate

Clone this repository:

git clone https://github.com/lean-mind/ruby-katas-template.git

Run bundler:

bundle install

Generate a new class or module with it corresponding unit test:

bundle exec ruby sup/generate.rb ClassName

Make sure to use src/main.rb as your app entry point and start application by calling:

bundle exec ruby src/main.rb

Current baseline:

  • Ruby 3.4.4
  • RSpec 3.13
  • RuboCop 1.75 with rubocop-rspec