Created
March 5, 2019 09:57
-
-
Save sajoku/d6df0ba7be9adbbb112a955506d5159d to your computer and use it in GitHub Desktop.
Revisions
-
sajoku created this gist
Mar 5, 2019 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal 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'