gem 'spree', github: 'spree/spree', branch: '2-0-stable'```
Run `bundle update spree`.
This version of Spree bumps the dependency for jquery-rails to this:
gem 'jquery-rails', '3.0.0'```
Ensure that you have a line such as this in your Gemfile to allow that dependency.
The two pieces of middleware previously inserted into `config/application.rb` have now been deprecated. Remove these two lines:
In Spree 2, assets have been renamed.
In `store/all.css` and `store/all.js`, you will need to rename the references from `spree_core` to `spree_frontend`. Similarly to this, in `admin/all.css` and `admin/all.js`, you will need to rename the references from `spree_core` to `spree_backend`.
Additionally, remove references to `spree_promo` from these files. That component of Spree has now been merged with the Core component.
## Copy and run migrations
Copy over the migrations from Spree (and any other engine) and run them using
## Read the release notes
For information about changes contained with this release, please read the [2.0.0 Release Notes](http://guides.spreecommerce.org/release_notes/spree_2_0_0.html).
## Verify that everything is OK
Click around in your store and make sure it's performing as normal. Fix any deprecation warnings you see.