Skip to content

Instantly share code, notes, and snippets.

@guehara
Created May 14, 2012
Embed
What would you like to do?
rails+rvm環境でTAGSファイル作成
#!/bin/sh
find . -name "*.rb" | xargs etags --language=none --regex='/[ \t]*\(def\|class\|module\)[ \t]\([^ \t]+\)/\2/'
find ~/.rvm/rubies/default/lib/ruby -name "*.rb" | xargs etags -a --language=none --regex='/[ \t]*\(def\|class\|module\)[ \t]\([^ \t]+\)/\2/'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment