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.
Thanks for providing this template, it clarified a lot of things! I kept having an error when I ran the
gem build
command: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 theextension.gemspec
file.