I have a macvim 64 snapshot downloaded from https://github.com/b4winckler/macvim/downloads and rugged ctags installed via homebrew:
which ctags
/usr/local/bin/ctags
my tagsvariable in vim looks like this:
:echo &tags
/Users/macovsky/code/faces/tmp/tags,./tags,tags,/Users/macovsky/.rbenv/versions/1.9.2-p290/lib/ruby/site_ruby/1.9.1/tags,/Users/macovsky/.rbenv/versions/1.9.2-p290/lib/ruby/site_ruby/1.9.1/x86_64-darwin11.2.0/tags,/Users/macovsky/.rbenv/versions/1.9.2-p290/lib/ruby/site_ruby/tags,/Users/macovsky/.rbenv/versions/1.9.2-p290/lib/ruby/vendor_ruby/1.9.1/tags,/Users/macovsky/.rbenv/versions/1.9.2-p290/lib/ruby/vendor_ruby/1.9.1/x86_64-darwin11.2.0/tags,/Users/macovsky/.rbenv/versions/1.9.2-p290/lib/ruby/vendor_ruby/tags,/Users/macovsky/.rbenv/versions/1.9.2-p290/lib/ruby/1.9.1/tags,/Users/macovsky/.rbenv/versions/1.9.2-p290/lib/ruby/1.9.1/x86_64-darwin11.2.0/tags,/Users/macovsky/code/faces/tags
and I generated the tag file with the command rails-vim :Rtags:
file tmp/tags
tmp/tags: Exuberant Ctags tag file text
The problem is that I use C-]or :tag, all this with an error E426 tag not found.
The tag definitely exists:
cat tmp/tags | grep post_image
post_image /Users/macovsky/code/faces/app/helpers/posts_helper.rb /^ def post_image(post, style)$/;" f class:PostsHelper
Any suggestions? Thank.
source
share