The code behind the analysis in this blog post.
All the fun stuff lives in the Jupyter notebook.
- Build the container:
$ docker build -t gem-vulnerability-analysis .
- Run the container:
$ docker run --rm \ -v "$(pwd)/notebooks:/home/jupyter/notebooks" \ -p 8888:8888 \ gem-vulnerability-analysis
- Visit the URL that appears in stdout
Running with Docker is probably easier, but that's not your thing:
- Install Ruby, Jupyter, and iruby
- Navigate to the notebooks directory
- Download and extract the contents of the Rubysec advisory database to a sub-directory called ruby-advisory-db-master
- Run
jupyter notebook
- Visit the URL that appears in stdout