def lib_dirs_for(spec)
    "#{spec.full_gem_path}/{#{spec.require_paths.join(',')}}" if
      spec.require_paths
  end
#
Returns library directories glob for a gemspec.  For example,
'/usr/local/lib/ruby/gems/1.8/gems/foobar-1.0/{lib,ext}'