When generating a gem, make sure a dependency in the `optional` group is not added to the gemspec. Not sure how to handle the case when a requirement is both an optional runtime dependency and a development dependency.