mirror of
https://github.com/opf/openproject.git
synced 2026-06-13 19:20:00 +00:00
Upgrade ruby to 3.3.4
This commit is contained in:
@@ -17,7 +17,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: ruby/setup-ruby@v1
|
||||
with:
|
||||
ruby-version: '3.3.3'
|
||||
ruby-version: '3.3.4'
|
||||
- uses: MeilCli/danger-action@v6
|
||||
with:
|
||||
danger_file: 'Dangerfile'
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
3.3.3
|
||||
3.3.4
|
||||
|
||||
+1
-1
@@ -1360,7 +1360,7 @@ DEPENDENCIES
|
||||
with_advisory_lock (~> 5.1.0)
|
||||
|
||||
RUBY VERSION
|
||||
ruby 3.3.3p89
|
||||
ruby 3.3.4p94
|
||||
|
||||
BUNDLED WITH
|
||||
2.5.13
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
FROM ruby:3.3.3-bullseye as develop
|
||||
FROM ruby:3.3.4-bullseye as develop
|
||||
MAINTAINER operations@openproject.com
|
||||
|
||||
ARG DEV_UID=1000
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
ARG RUBY_VERSION="3.3.3"
|
||||
ARG RUBY_VERSION="3.3.4"
|
||||
FROM ruby:${RUBY_VERSION}-bookworm as base
|
||||
LABEL maintainer="operations@openproject.com"
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ their homepage.
|
||||
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.3.3"
|
||||
the time of writing, this version is "3.3.4"
|
||||
|
||||
#### Install rbenv and ruby-build
|
||||
|
||||
@@ -45,7 +45,7 @@ $ rbenv init
|
||||
|
||||
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.3.3`, which we also require.
|
||||
At the time of this writing, the latest stable version is `3.3.4`, 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
|
||||
@@ -53,14 +53,14 @@ and install that version.
|
||||
|
||||
```shell
|
||||
# Install the required version as read from the Gemfile
|
||||
rbenv install 3.3.3
|
||||
rbenv install 3.3.4
|
||||
```
|
||||
|
||||
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.3.3
|
||||
rbenv global 3.3.4
|
||||
```
|
||||
|
||||
You also need to install [bundler](https://github.com/bundler/bundler/), the ruby gem bundler.
|
||||
@@ -134,7 +134,7 @@ You should now have an active ruby and node installation. Verify that it works w
|
||||
|
||||
```shell
|
||||
$ ruby --version
|
||||
ruby 3.3.3 (2024-06-12 revision f1c7b6f435) [arm64-darwin23]
|
||||
ruby 3.3.4 (2024-07-09 revision be1089c8ec) [arm64-darwin23]
|
||||
|
||||
$ bundler --version
|
||||
Bundler version 2.5.13
|
||||
|
||||
@@ -41,7 +41,7 @@ sudo apt-get install git curl build-essential zlib1g-dev libyaml-dev libssl-dev
|
||||
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.3.3"
|
||||
the time of writing, this version is "3.3.4"
|
||||
|
||||
#### Install rbenv and ruby-build
|
||||
|
||||
@@ -75,7 +75,7 @@ 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.3.3` which we also require.
|
||||
At the time of this writing, the latest stable version is `3.3.4` 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
|
||||
@@ -83,14 +83,14 @@ and install that version.
|
||||
|
||||
```shell
|
||||
# Install the required version as read from the Gemfile
|
||||
rbenv install 3.3.3
|
||||
rbenv install 3.3.4
|
||||
```
|
||||
|
||||
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.3.3
|
||||
rbenv global 3.3.4
|
||||
rbenv rehash
|
||||
```
|
||||
|
||||
@@ -180,7 +180,7 @@ You should now have an active ruby and node installation. Verify that it works w
|
||||
|
||||
```shell
|
||||
ruby --version
|
||||
ruby 3.3.3 (2024-06-12 revision f1c7b6f435) [arm64-darwin23]
|
||||
ruby 3.3.4 (2024-07-09 revision be1089c8ec) [arm64-darwin23]
|
||||
|
||||
bundler --version
|
||||
Bundler version 2.5.13
|
||||
|
||||
@@ -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.3.3
|
||||
[openproject@host] rbenv install 3.3.4
|
||||
[openproject@host] rbenv rehash
|
||||
[openproject@host] rbenv global 3.3.3
|
||||
[openproject@host] rbenv global 3.3.4
|
||||
```
|
||||
|
||||
To check our Ruby installation we run `ruby --version`. It should output
|
||||
something very similar to:
|
||||
|
||||
```text
|
||||
ruby 3.3.3 (2024-06-12 revision f1c7b6f435) [arm64-darwin23]
|
||||
ruby 3.3.4 (2024-07-09 revision be1089c8ec) [arm64-darwin23]
|
||||
```
|
||||
|
||||
## Installation of Node
|
||||
|
||||
Reference in New Issue
Block a user