Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
---
title: 3.1 to 3.2
section: upgrades
order: 8
description: 'This guide covers upgrading a 3.1 Spree store, to a 3.2 store.'
canonical: "https://spreecommerce.org/docs/v5/developer/upgrades/3.1-to-3.2"
---
### Update your Rails version to 5.0
Spree 3.1 requires Rails 4.2 at a minimum. Please follow the [official Rails guide](http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html#upgrading-from-rails-4-2-to-rails-5-0) to upgrade your application.
### Update gems
```bash
bundle update
```
### Run `bundle update`
### Install missing migrations
```bash
rake railties:install:migrations
```
### Run migrations
```bash
rails db:migrate
```
## Read the release notes
For information about changes contained within this release, please read the [3.2.0 Release Notes](https://github.com/spree/spree/releases/tag/v3.2.0).