docs/developer/upgrades/2.1-to-2.2.mdx
This guide has been written from the perspective of a blank Spree 2.1 store with no extensions.
If you have extensions that your store depends on, you will need to manually verify that each of those extensions works within your 2.2 store once this upgrade is complete. Typically, extensions that are compatible with this version of Spree will have a 2-2-stable branch.
For this Spree release, you will need to upgrade your Rails version to at least 4.0.6.
gem 'rails', '~> 4.0.6'
For best results, use the 2-2-stable branch from GitHub:
gem 'spree', '~> 2.2'
Run bundle update spree.
Copy over the migrations from Spree (and any other engine) and run them using these commands:
rake railties:install:migrations
rake db:migrate
For information about changes contained with this release, please read the 2.2.0 Release Notes.
As mentioned in the release notes, asset paths have changed. Change the references on the left, to the ones on the right:
admin/spree_backend => spree/backendstore/spree_frontend => spree/frontendThis applies across the board on Spree, and may need to be done in your store's extensions.
Please consult this section of the release notes if you were using custom Paperclip settings. This will direct you what to do in that particular case.