Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@dolzenko
Forked from AndrewRadev/ack-gems
Created September 5, 2013 15:31
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dolzenko/6451790 to your computer and use it in GitHub Desktop.
Save dolzenko/6451790 to your computer and use it in GitHub Desktop.
#! /usr/bin/env ruby
require 'bundler'
paths = Bundler.load.specs.map(&:full_gem_path)
system("ack '#{ARGV[0]}' #{paths.join(' ')}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment