I'm following the tutorial (at spreecommerce) on how to do a extension and
deface. But I'm not sure I'm doing it the right way.
- I have generated the extension with the file structure.
- I have added the extension to my Spree application (v2.0)
But at the next moment, I'm not sure what to do. The tutorial says this:
*"Now we need to extend Spree::HomeController and add an action that
selects “on sale” products.*
*Make sure you are in the spree_simple_sales root directory and run the
following command to create the directory structure for our controller
Does that mean that I should go back the extensions root folder (not the
Spree installation)? I tried that and followed the tutorial. But when I try
the command "rails console" I get an error:
Error: Command not recognized
Usage: rails COMMAND [ARGS]
That is where I'm stuck :(
Have I done it right so far? Any help are welcome.