Prevent whitespace in gem declarations and provide clear error messaging. Provide a test for existing symbol-prevention logic for #gem.