spree/spree — Issue #932: 1.0.0.RC1 Creating Extension Problem
Author: ricksta
Created: 2011-12-31 06:11:11+00:00
State: open

I am trying to create an extension under version 1.0.0 RC1 by
following the tutorial:
http://edgeguides.spreecommerce.com/creating_extensions.html

I navigated to an directory not under any existing rails application
to create a standalone extension.

I run:
spree extension merchant
(some how merchant.gemspec got put into the directory outside the
extension directory, I had to move that into merchant/)

cd merchant/
bundle exec rake test_app

and I get an error:
rake aborted!
cannot load such file -- generators/spree/install/install_generator

So I look into generator folder and the folder is named merchant instead of spree. if I rename merchant folder to spree that error gets fixed but I get a different error: uninitialized constant Merchant::Generators::Rails