Skip to content

Versioning

Gilles Legoux edited this page Oct 21, 2024 · 2 revisions

Versioning

Before updating the used versions, check the used versions.

TODO

List

TODO

Update

Ruby ecosystem

  • Update rvm
  1. Check the last available release: https://github.com/rvm/rvm/releases
  2. Apply the instructions from https://rvm.io/
  3. Check with rvm --version
  • Update ruby
  1. Check the last available release: https://www.ruby-lang.org/en/downloads/releases
  2. Update the .ruby-version file with this last version
  3. Install this version with rvm:
rvm install "ruby-<version>"
  1. Check with ruby --version, and in Gemfile.lock that this last version is used
  2. Use source bootstrap.sh to use this last version with rvm
  • Update bundle the tool to manage the ruby dependencies, called gems
  1. Check the last available release: https://rubygems.org/gems/bundler/versions
  2. Execute the command to update to this last available version:
bundle update --bundler
  1. Check with bundle --version, and in Gemfile.lock that this last version is used

Static Web Generator ecosystem with Jekyll

  • Update jekyll
  1. Check the last available release: https://jekyllrb.com/news/releases/
  2. Update the Gemfile file with this last version
  3. Execute the command to update to this last available version:
bundle update
  1. Check with jekyll --version, and in Gemfile.lock that this last version is used
  • Update each jekyll plugin

For example, for jekyll-sitemap:

  1. Check the last available release: https://github.com/jekyll/jekyll-sitemap/releases
  2. Update the Gemfile file with this last version
  3. Execute the command to update to this last available version:
bundle update
  1. Check the Gemfile.lock that this last version is used

The repeat for each jekyll plugin.

  • Update the other gems
  1. Execute the command to update to the last available versions for all gems:
bundle update
  1. Check Gemfile.lock that the last versions are used

See the last version used of a gem: https://rubygems.org/releases.

Clone this wiki locally