- Install Docker on your machine.
- Run
docker run --rm -it sendgrid/sendgrid-ruby irb
. - Run
require './lib/sendgrid-ruby.rb'
.
If you would like to just poke around in the image and check some examples:
docker run --rm -it sendgrid/sendgrid-ruby bash
If you want to mount your fork or specific version of the gem:
docker run --rm -v /path/to/local/sendgrid-ruby:/sources/sendgrid-ruby -it sendgrid/sendgrid-ruby bash
If you would like to run the tests present in the image:
docker run --rm sendgrid/sendgrid-ruby rake
If you want to run tests on your fork or a specific version, mount the codebase onto the image:
docker run --rm -v /path/to/local/sendgrid-ruby:/sources/sendgrid-ruby sendgrid/sendgrid-ruby rake