Help save net neutrality! Learn more.
Close

#330 Generating tags for Ruby on rails projects

open
nobody
None
5
2014-08-23
2012-04-10
Anonymous
No

Hello,

I am generating a TAGS file for a Ruby on Rails project to use with
emacs and I am running into some problems.

I am using the following command:

ctags -f TAGS --extra=-f --languages=-javascript --exclude=.git --exclude=log -e -R . $(rvm gemdir)/gems/

When I try to find tags (Using M-.) some tags are working fine, but
with lots of other tags I get errors like:

tag-find-file-of-tag-noselect: File /Users/simao/Documents/sp/ofw/° ¡ not found

etags-goto-tag-location: Rerun etags: `^class OfferTools::FilteringSteps' not found in /Users/simao/Documents/sp/ofw/lib/geo_db.rb

I believe this is a bug with ctags since it is not generating a TAGS
file that emacs can understand.

I am using ctags on Mac OS X.

Exuberant Ctags 5.8, Copyright (C) 1996-2009 Darren Hiebert
Compiled: Mar 9 2012, 15:47:35
Addresses: <dhiebert@users.sourceforge.net>, http://ctags.sourceforge.net
Optional compiled features: +wildcards, +regex

Thanks!

Discussion


Log in to post a comment.