at-import / Compass-Extension-Template

A generic template for creating a Compass extension
38 stars 5 forks source link

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

Open marcelosomers opened 10 years ago

marcelosomers commented 10 years ago

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.