carlhuda/bundler — pull request #2060 by jdelStrother (2012-08-13 22:34:29+00:00)
Title: Error-out on "bundle update unknown-gem"

This is a second take on https://github.com/carlhuda/bundler/pull/2050 - it seemed easier to break it out into separate pull requests.

With this commit, "bundle update unknown-gem" will raise GemNotFound rather than ignoring the error and carrying through with the empty update.

It basically just loops through the known dependencies before running the update, so "bundle update unknown-gem" will result in a GemNotFound exception.
WDYT?

(this then leads into Bundler being able to suggest typos for bundle-update & bundle-open - https://github.com/jdelStrother/bundler/commit/d5cb470405975f364c29a9f88b5a97e87d6a1bc1 - but let's see if this gets accepted first)