Skip to content

Instantly share code, notes, and snippets.

@AndrewRadev
Created February 10, 2012 15:07
Show Gist options
  • Select an option

  • Save AndrewRadev/1790154 to your computer and use it in GitHub Desktop.

Select an option

Save AndrewRadev/1790154 to your computer and use it in GitHub Desktop.
Grep (ack) for a string within all required gems
require 'bundler'
paths = Bundler.load.specs.map(&:full_gem_path)
system("ack 'Memoizable' #{paths.join(' ')}")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment