Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Latest commit

 

History

History
36 lines (28 loc) · 1.14 KB

README.md

File metadata and controls

36 lines (28 loc) · 1.14 KB

Gem Vulnerability Analysis

The code behind the analysis in this blog post.

All the fun stuff lives in the Jupyter notebook.

Running with Docker

  1. Build the container:
    $ docker build -t gem-vulnerability-analysis .
    
  2. Run the container:
    $ docker run --rm \
        -v "$(pwd)/notebooks:/home/jupyter/notebooks" \
        -p 8888:8888 \
        gem-vulnerability-analysis
    
  3. Visit the URL that appears in stdout

Running manually

Running with Docker is probably easier, but that's not your thing:

  1. Install Ruby, Jupyter, and iruby
  2. Navigate to the notebooks directory
  3. Download and extract the contents of the Rubysec advisory database to a sub-directory called ruby-advisory-db-master
  4. Run jupyter notebook
  5. Visit the URL that appears in stdout