Skip to content
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

Defining name & version in extension.rb throws an error on gem build #6

Open
marcelosomers opened this issue Feb 9, 2014 · 0 comments

Comments

@marcelosomers
Copy link

Thanks for providing this template, it clarified a lot of things! I kept having an error when I ran the gem build command:

Invalid gemspec in [extension.gemspec]: /Users/marcelos/Projects/extension/lib/extension.rb:19: class/module name must be CONSTANT

I hadn't missed any instances of the extension name anywhere, and had tried to rebuild from scratch several times. The only thing that fixed this was commenting out lines 19-22 in /lib/extension.rb and then explicitly defining the version and date on lines 8-9 of the extension.gemspec file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant