#1607 √ stalled
Jeroen

Generating an extension has some issues

Reported by Jeroen | August 19th, 2010 @ 10:50 AM

I’ve had quite some trouble with getting an extension generated and running on the current master branch.

First the generated extension (engine) doesn’t load properly.

I fixed it by removing lib/extension_name/engine.rb and moving the content of that file to lib/extension_name.rb.

Once that is done an exception was thrown: undefined methoddeep_symbolize_keys' for nil:NilClass.

After some research I found out it was caused by the I18n gem. The generated locale file in the extension did not contain any translations. I just added a useless key:value to the file so that it would run fine.

Maybe it would be smart to add an empty value to the locale file? Or maybe not include it at all? What do you guys think?

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

This Lighthouse Repository is now deprecated. It only exists as a reference for legacy issues. Please file any new issues in Github.

http://github.com/spree/spree/issues

Shared Ticket Bins

People watching this ticket