anchor.diff:  # customization.
   
   # Install our custom.js
  -COPY resources/custom.js /home/jovyan/.jupyter/custom/
  +COPY resources/custom.js /home/$NB_USER/.jupyter/custom/
   
   # Add the templates
   COPY resources/templates/ /srv/templates/
  
positive.code: RUN gem update --system --no-document && \
      gem install --no-document 'activemodel:~> 4.2' sciruby-full
  
  # Now switch to jovyan for all conda and other package manager installs
  USER jovyan
  
  ENV PATH /home/jovyan/.cabal/bin:/opt/cabal/1.22/bin:/opt/ghc/7.8.4/bin:/opt/happy/1.19.4/bin:/opt/alex/3.1.3/bin:$PATH
  
  # IRuby
  RUN iruby register
  
negative.code: 
  # Append tmpnb specific options to the base config
  COPY resources/jupyter_notebook_config.partial.py /tmp/
  RUN cat /tmp/jupyter_notebook_config.partial.py >> /home/$NB_USER/.jupyter/jupyter_notebook_config.py && \
      rm /tmp/jupyter_notebook_config.partial.py
  