-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix build failure with empty metadata URLs for gemspec #9
Comments
Hey James. π Thanks, this is an oversight on my part as I never added specs that would show this failing when no metadata was configured for Gemsmith. I've been assuming there would always be data. I'll work on a patch that will fix this. In the meantime -- as a workaround -- could you create a :project:
:url:
:funding: https://github.com/sponsors/jchilders
:home: https://github.com/jchilders/%project_name%
:issues: https://github.com/jchilders/%project_name%/issues
:source: https://github.com/jchilders/%project_name%
:versions: https://github.com/jchilders/%project_name%/tags Then delete your current |
βΉοΈ I'll push out a patch release later today which incorporates this fix. |
Thank you, @bkuhlmann! |
Yeah, you bet. Thanks for reporting because that was a good find as I wasn't able to detect that use case sooner since I always have a global configuration defined. By the way, Version 18.1.1 is live. Enjoy! |
Overview
When running
gemsmith --build smithtmp --min
the command fails with error when attempting to validate the generated.gemspec
file.Steps to Recreate
gemsmith --build smithtmp
The above error gets thrown here, although the project is still created. Further steps:
cd smithtmp
gem build smithtmp.gemspec
. This gives:Environment
The text was updated successfully, but these errors were encountered: