This gem includes different adapters which require specific tools instaled on local machine. With docker this could be achieved inside container and new contributor could start working on code with a minumum efforts.
- Install Docker Compose https://docs.docker.com/compose/install
- Build the app container
docker-compose build
- Install gems
docker-compose run --rm app bundle install
- Run specs
docker-compose run --rm app bundle exec rspec
- Run tests
docker-compose run --rm app bundle exec rake test
- Optional: log in to container an using a
bash
shell for running specs
docker-compose run --rm app bash
bundle exec rspec