Skip to content

Instantly share code, notes, and snippets.

@sajoku
Created March 5, 2019 09:57
Show Gist options
  • Select an option

  • Save sajoku/d6df0ba7be9adbbb112a955506d5159d to your computer and use it in GitHub Desktop.

Select an option

Save sajoku/d6df0ba7be9adbbb112a955506d5159d to your computer and use it in GitHub Desktop.

Revisions

  1. sajoku created this gist Mar 5, 2019.
    4 changes: 4 additions & 0 deletions .vimrc
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    "Sometimes I want to run stuff in a docker-container like rails tests. With this local .vimrc that's configurable per project
    " This 'overrides' the rails executable command and replaces it with docker-compose.
    " Drawback is that it takes a bit of time to run docker
    let g:test#ruby#rails#executable = 'docker-compose run web bin/rails test'