Fix NameError exception (#14).

We still need to fix the case of the 'shared' repo missing a gemspec and making the `error()` to occur
wording
Merge pull request #16 from AliSoftware/fix-14

Fix NameError exception (see #14).