The latest commit 9695af3 fixes the case when there is already a directory named "tags". It works for cases when the file was not present and when there was a directory, but it does not work for cases when file is present.
fixing previous commit for directory named tags
The previous commit was not working properly for all cases.
I have to admit I was drawing a boolean table to solve this issue :-)
Bump. Please note the referenced issue was closed, but this PR is still valid.
I just installed gem-ctags today and when it hits backports, I am getting the same unhelpful error "ERROR: While executing gem ... (Errno::EISDIR)
Is a directory - tags"
+1 on ruby 1.9.3
Please bump up the version and release it w/ this fix. Thanks.
Little bit of advertisment - I cloned Tim's work and included this fix, also modified it to use ripper-tags instead of ctags. Ripper tags gives better results (but obviously is a little bit slower):