Permalink
Browse files

Use bundle exec for ctags

  • Loading branch information...
1 parent fa1adc9 commit e271630869e8347b0fbbf2a9d4e25bd23c59dbc9 Jacobo Blasco & Michael Schubert committed Mar 22, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 init/keybindings.vim
View
@@ -75,8 +75,8 @@ map <D-N> :CommandTFlush<CR>:CommandT<CR>
map <leader>f :CommandTFlush<CR>:CommandT<CR>
" ctags with rails load path
-map <leader>t :!rails runner 'puts $LOAD_PATH.join(" ")' \| xargs /usr/local/bin/ctags -R public/javascripts<CR>
-map <leader>T :!rails runner 'puts $LOAD_PATH.join(" ")' \| xargs rdoc -f tags<CR>
+map <leader>t :!bundle exec rails runner 'puts $LOAD_PATH.join(" ")' \| xargs /usr/local/bin/ctags -R public/javascripts<CR>
+map <leader>T :!bundle exec rails runner 'puts $LOAD_PATH.join(" ")' \| xargs rdoc -f tags<CR>
" Git blame
map <leader>g :Gblame<CR>

1 comment on commit e271630

Please sign in to comment.