class Bundler::CLI

def locate_gem(name)

def locate_gem(name)
  spec = Bundler.runtime.specs.find{|s| s.name == name }
  raise GemNotFound, "Could not find gem '#{name}' in the current bundle." unless spec
  spec.full_gem_path
end