Commit ce1f181e authored by Martin Kavalar's avatar Martin Kavalar

Hint to `pod repo update` when Pod can't be found.

parent 54a79a0d
......@@ -13,7 +13,8 @@ module Pod
def self.search(dependency)
all.map { |s| s.search(dependency) }.compact.first ||
raise(Informative, "Unable to find a pod named `#{dependency.name}'")
raise(Informative, "Unable to find a pod named `#{dependency.name}'.\n" \
"You might want to run `pod repo update` and try again.")
end
def self.search_by_name(query, full_text_search)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment