gem ruby

ctags_ruby gem

I created a gem for doing ctags on my ruby project files and gem dependencies. Basically it will find all ruby files in your project, and run ctags on them. Then it will dive into your Gemfile and trawl through the source files of each gem.

It will store tags in .tags and .gemtags respectively.

Installing it

Just do agem install ctags_ruby

gem install ctags_ruby

Making that play nice in vim

Simply add the following to your .vimrc

set tags=.tags,.gemtags

And you’re good to go.