Skip to content

Commit cb57720

Browse files
committed
Add docker support
1 parent b55c02e commit cb57720

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

autoload/rails.vim

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -913,6 +913,8 @@ function! s:app_static_rails_command(cmd) dict abort
913913
let cmd = 'script/'.a:cmd
914914
elseif self.has('bundler')
915915
return 'bundle exec rails ' . a:cmd
916+
elseif self.has('docker')
917+
return 'docker-compose run web rails ' . a:cmd
916918
else
917919
return 'rails '.a:cmd
918920
endif

0 commit comments

Comments
 (0)