Prevent whitespace in gem declarations and provide clear error messaging.
Merge pull request #3146 from benlakey/whitespace

Prevent whitespace in gem declarations and provide clear error messaging.