Skip to content

Latest commit

 

History

History
 
 

docker

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Docker image for sendgrid-ruby

Quickstart

  1. Install Docker on your machine.
  2. Run docker run --rm -it sendgrid/sendgrid-ruby irb.
  3. Run require './lib/sendgrid-ruby.rb'.

Poke around

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

Running tests

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