How to Update Slate 2.7.0 to Latest Version #1568
-
OK y'all, I am by no means a programmer, I just use Slate as a tool to develop documentation -- I have a working 2.7.0 environment on my Mac which I have installed natively. How do I update to the latest 2.12.0 version without breaking anything? Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
After tearing out my hair for a day and a half, I backed up my data, deleted the slate directory and did a clean install from this site; restored my data, did a |
Beta Was this translation helpful? Give feedback.
-
All version updates usually update the
The easiest way to update usually though is to have your slate repo, and then mark this one as an upstream (https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/configuring-a-remote-for-a-fork), and then fetching the tags for the upstream ( |
Beta Was this translation helpful? Give feedback.
All version updates usually update the
Gemfile
andGemfile.lock
files. The other files affected for given version range are:source/javascripts/lib/_lunr.js
was updated in 2.8.0source/javascript/app/_copy.js
in 616df62 in 2.8.0source/javascript/app/_lang.js
in 681f481 in 2.9.1source/javascripts/lib/_jquery.js
was updated in 2.11.0source/layouts/layout.erb
in ef09832 in 2.11.0The easiest way to update usually though is to have your slate repo, and then mark this one as an upstream (https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/configuring-a-remote-for-a-fork), and then fetching the tags for the upstream (
git fetch --tags upstream
) and t…