spree/spree — Issue #909: common_rake requires install generator from spree gem
Author: five18pm
Created: 2011-12-26 07:31:55+00:00
State: open

The common_rake file `spree_core-1.0.0.rc1/lib/spree/core/testing_support/common_rake.rb` depends on the install generator under `spree` gem to create the test_app.

```
unless defined?(Spree::InstallGenerator)
require 'generators/spree/install/install_generator'
end
```

This is causing extension development to break as the `Gemfile/.gemspec` for extension has only core as the required dependency.

Either the install generator has to be moved to core or the `spree` gem should be added as dependency in the extension's template Gemfile or .gemspec.

I have added `spree` gem as a requirement in my extension's Gemfile to continue development.