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.5 to 3.6
section: upgrades
order: 4
description: 'This guide covers upgrading a 3.5 Spree application, to a 3.6 application.'
canonical: "https://spreecommerce.org/docs/v5/developer/upgrades/3.5-to-3.6"
---
## Update your Rails version to 5.2
Spree 3.6 requires Rails 5.2 at a minimum. Please follow the [official Rails guide](http://guides.rubyonrails.org/5_2_release_notes.html#upgrading-to-rails-5-2) to upgrade your application.
## Update gems
```bash
bundle update
```
### (Optional) Migrate to ActiveStorage (optional)
Please follow the [official paperclip guide](https://github.com/thoughtbot/paperclip/blob/master/MIGRATING) if you want to use ActiveStorage instead of paperclip.
You can still use paperclip for attachment management by setting `SPREE_USE_PAPERCLIP` environment variable to `true`, but keep in mind that paperclip is DEPRECATED and we will remove paperclip support in Spree 4.0.
### Install missing migrations
```bash
rake railties:install:migrations
```
### Run migrations
```bash
rails db:migrate
```
You're good to go!
## Read the release notes
For information about changes contained within this release, please read the [3.6.0 Release Notes](https://github.com/spree/spree/releases/tag/v3.6.0).