Skip to content

Instantly share code, notes, and snippets.

@mgreen
mgreen / ctags_vim_paths_gemfile.rb
Created June 24, 2011 18:07 — forked from andyl/ctags_vim_paths_gemfile.rb
Generates Ctags and Vim Paths from Gemfile.lock respecting in/excluded groups
#!/usr/bin/ruby
require 'rubygems'
require 'bundler'
=begin
This script was written to incorporate Bundler and Gemfile.lock into
Vim's tag and file-finding tools.
=end
# This code generates ctags. If a Gemfile.lock is found