Update docs to now reference 3.2.3 as the current Ruby version

This commit is contained in:
Aaron Contreras
2024-01-22 11:01:30 -05:00
parent 126feb6c05
commit 87e24946bc
4 changed files with 14 additions and 14 deletions
@@ -431,7 +431,7 @@ Ruby version is updated you may run into an error like the following when
running `docker compose run --rm backend setup`:
```
Your Ruby version is 2.7.6, but your Gemfile specified ~> 3.2.2
Your Ruby version is 2.7.6, but your Gemfile specified ~> 3.2.3
```
This means that the current image is out-dated. You can update it like this:
@@ -22,7 +22,7 @@ We'll use [homebrew](https://brew.sh/) to install most of our requirements. Plea
## Install Ruby
Use [rbenv](https://github.com/rbenv/rbenv) and [ruby-build](https://github.com/rbenv/ruby-build#readme) to install Ruby. We always require the latest ruby versions, and you can check which version is required by [checking the Gemfile](https://github.com/opf/openproject/blob/dev/Gemfile#L31) for the `ruby "~> X.Y"` statement. At the time of writing, this version is "3.2.2"
Use [rbenv](https://github.com/rbenv/rbenv) and [ruby-build](https://github.com/rbenv/ruby-build#readme) to install Ruby. We always require the latest ruby versions, and you can check which version is required by [checking the Gemfile](https://github.com/opf/openproject/blob/dev/Gemfile#L31) for the `ruby "~> X.Y"` statement. At the time of writing, this version is "3.2.3"
### Install rbenv and ruby-build
@@ -39,20 +39,20 @@ $ rbenv init
### Installing ruby
With both installed, we can now install the actual ruby version. You can check available ruby versions with `rbenv install --list`.
At the time of this writing, the latest stable version is `3.2.2`, which we also require.
At the time of this writing, the latest stable version is `3.2.3`, which we also require.
We suggest you install the version we require in the [Gemfile](https://github.com/opf/openproject/blob/dev/Gemfile). Search for the `ruby '~> X.Y.Z'` line
and install that version.
```shell
# Install the required version as read from the Gemfile
rbenv install 3.2.2
rbenv install 3.2.3
```
This might take a while depending on whether ruby is built from source. After it is complete, you need to tell rbenv to globally activate this version
```shell
rbenv global 3.2.2
rbenv global 3.2.3
```
You also need to install [bundler](https://github.com/bundler/bundler/), the ruby gem bundler.
@@ -123,7 +123,7 @@ You should now have an active ruby and node installation. Verify that it works w
```shell
$ ruby --version
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin22]
ruby 3.2.3 (2024-01-18 revision 52bb2ac0a6) [arm64-darwin23]
$ bundler --version
Bundler version 2.4.22
@@ -33,7 +33,7 @@ sudo apt-get install git curl build-essential zlib1g-dev libyaml-dev libssl-dev
## Install Ruby
Use [rbenv](https://github.com/rbenv/rbenv) and [ruby-build](https://github.com/rbenv/ruby-build#readme) to install Ruby. We always require the latest ruby versions, and you can check which version is required by [checking the Gemfile](https://github.com/opf/openproject/blob/dev/Gemfile#L31) for the `ruby "~> X.Y"` statement. At the time of writing, this version is "3.2.2"
Use [rbenv](https://github.com/rbenv/rbenv) and [ruby-build](https://github.com/rbenv/ruby-build#readme) to install Ruby. We always require the latest ruby versions, and you can check which version is required by [checking the Gemfile](https://github.com/opf/openproject/blob/dev/Gemfile#L31) for the `ruby "~> X.Y"` statement. At the time of writing, this version is "3.2.3"
### Install rbenv and ruby-build
@@ -67,20 +67,20 @@ git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
### Installing ruby
With both installed, we can now install ruby. You can check available ruby versions with `rbenv install --list`.
At the time of this writing, the latest stable version is `3.2.2` which we also require.
At the time of this writing, the latest stable version is `3.2.3` which we also require.
We suggest you install the version we require in the [Gemfile](https://github.com/opf/openproject/blob/dev/Gemfile). Search for the `ruby '~> X.Y.Z'` line
and install that version.
```shell
# Install the required version as read from the Gemfile
rbenv install 3.2.2
rbenv install 3.2.3
```
This might take a while depending on whether ruby is built from source. After it is complete, you need to tell rbenv to globally activate this version
```shell
rbenv global 3.2.2
rbenv global 3.2.3
rbenv rehash
```
@@ -166,7 +166,7 @@ You should now have an active ruby and node installation. Verify that it works w
```shell
ruby --version
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin22]
ruby 3.2.3 (2024-01-18 revision 52bb2ac0a6) [arm64-darwin23]
bundler --version
Bundler version 2.4.22
@@ -108,16 +108,16 @@ time to finish.
[openproject@host] source ~/.profile
[openproject@host] git clone https://github.com/sstephenson/ruby-build.git ~/.rbenv/plugins/ruby-build
[openproject@host] rbenv install 3.2.2
[openproject@host] rbenv install 3.2.3
[openproject@host] rbenv rehash
[openproject@host] rbenv global 3.2.2
[openproject@host] rbenv global 3.2.3
```
To check our Ruby installation we run `ruby --version`. It should output
something very similar to:
```
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin22]
ruby 3.2.3 (2024-01-18 revision 52bb2ac0a6) [arm64-darwin23]
```
## Installation of Node