ruby on rails - How to upgrade Spree from 2.2.6 to 3.0.0 -


i have ruby on rails shopping site project built using spree 2.2.6 , want migrate spree 3.0.0 getting tons of errors related configuration settings. has done before or know how achieve this?

versions using:

ruby: 2.1.1
rails: 4.0.10
spree: 2.2.6

i using compatible versions of other gems like:

'spree_gateway',  'spree_auth_devise', 'spree_i18n', 'spree_recently_viewed', 'spree_tax_cloud',  'spree_gift_card' 

some of these can upgraded while can't be.

thanks in advance.

from https://guides.spreecommerce.com/release_notes/spree_3_0_0.html looks pretty simple, looks upgrade rails 4.2 (probably step you're missing. upgrade gems in gemfile:

gem 'spree', github: 'spree/spree', branch: '3-0-stable' 

run bundle update spree.

copy on migrations spree (and other engine) , run them using these commands:

rake railties:install:migrations rake db:migrate 

looks though configuration settings issues related to:

previously payment methods , google analytics trackers assigned environment, such as, production/staging/development etc.. no longer case. if relied on importing data production development or staging environment should ensure sanitize and/or update these credentials prevent submitting payments or analytics information production account credentials.

we recommend begin manage credentials environment variables instead.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -