Update Ruby version to latest stable (in Gemfile)

pull/7831/head
David Larsson 5 years ago committed by GitHub
parent ffbbe88d82
commit 1165e757c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      docs/development/development-environment-ubuntu.md

@ -54,20 +54,20 @@ ruby-build is an addon to rbenv that installs ruby versions
**Installing ruby-2.6**
With both installed, we can now install the actual ruby version 2.6. You can check available ruby versions with `rbenv install --list`.
At the time of this writing, the latest stable version is `2.6.3`, which we also require.
At the time of this writing, the latest stable version is `2.6.5`, 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.
```bash
# Install the required version as read from the Gemfile
[dev@ubuntu]# rbenv install 2.6.3
[dev@ubuntu]# rbenv install 2.6.5
```
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
```bash
[dev@ubuntu]# rbenv global 2.6.3
[dev@ubuntu]# rbenv global 2.6.5
```
You also need to install [bundler](https://github.com/bundler/bundler/), the ruby gem bundler.

Loading…
Cancel
Save