Fix NameError exception (#14).

At least it won't be a ruby syntax error, but we still need to fix the case of the 'shared' repo missing a gemspec and thus making the `error()` to occur (see also CocoaPods/shared#2)