OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
upgrade to ruby 2.7.1
Markus Kahl871b10ce7e6d
diff --git a/.travis.yml b/.travis.ymlindex c091601d3f4..cc417538c7d 100644--- a/.travis.yml+++ b/.travis.yml@@ -29,7 +29,7 @@language: rubyrvm:- - 2.6.6+ - 2.7.1sudo: requireddist: xenialdiff --git a/Dockerfile b/Dockerfileindex bb3c231bd57..4a43e21d51d 100644--- a/Dockerfile+++ b/Dockerfile@@ -1,9 +1,9 @@-FROM ruby:2.6-stretch AS pgloader+FROM ruby:2.7.1-buster AS pgloaderRUN apt-get update -qq && apt-get install -y libsqlite3-dev make curl gawk freetds-dev libzip-devCOPY docker/mysql-to-postgres/bin/build /tmp/build-pgloaderRUN /tmp/build-pgloader && rm /tmp/build-pgloader-FROM ruby:2.6-stretch+FROM ruby:2.7.1-busterMAINTAINER [email protected]ENV NODE_VERSION "10.15.0"diff --git a/Gemfile b/Gemfileindex da122ee6141..92373d3e6bb 100644--- a/Gemfile+++ b/Gemfile@@ -28,7 +28,7 @@source 'https://rubygems.org'-ruby '~> 2.6.6'+ruby '~> 2.7.1'gem 'actionpack-xml_parser', '~> 2.0.0'gem 'activemodel-serializers-xml', '~> 1.0.1'diff --git a/Gemfile.lock b/Gemfile.lockindex 236d9771c07..023e96a664e 100644--- a/Gemfile.lock+++ b/Gemfile.lock@@ -518,7 +518,7 @@ GEMget_process_mem (0.2.5)ffi (~> 1.0)gherkin (5.1.0)- git (1.6.0)+ git (1.7.0)rchardet (~> 1.8)globalid (0.4.2)activesupport (>= 4.2.0)@@ -1139,7 +1139,7 @@ DEPENDENCIESwith_advisory_lock (~> 4.6.0)RUBY VERSION- ruby 2.6.6p146+ ruby 2.7.1p83BUNDLED WITH2.1.4diff --git a/docker/dev/Dockerfile.dev b/docker/dev/Dockerfile.devindex 976761d07be..00480e4d992 100644--- a/docker/dev/Dockerfile.dev+++ b/docker/dev/Dockerfile.dev@@ -1,4 +1,4 @@-FROM ruby:2.6-stretch+FROM ruby:2.7.1-busterMAINTAINER [email protected]ENV USER=devdiff --git a/docs/development/development-environment-osx/README.md b/docs/development/development-environment-osx/README.mdindex 1e442ea2c11..39ce3c6c244 100644--- a/docs/development/development-environment-osx/README.md+++ b/docs/development/development-environment-osx/README.md@@ -29,23 +29,23 @@ $ brew install rbenv ruby-build$ rbenv init```-**Installing ruby-2.6**+**Installing ruby-2.7**-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.6`, which we also require.+With both installed, we can now install the actual ruby version 2.7. You can check available ruby versions with `rbenv install --list`.+At the time of this writing, the latest stable version is `2.7.1`, 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'` lineand install that version.```bash# Install the required version as read from the Gemfile-rbenv install 2.6.6+rbenv install 2.7.1```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-rbenv global 2.6.6+rbenv global 2.7.1```You also need to install [bundler](https://github.com/bundler/bundler/), the ruby gem bundler.@@ -110,7 +110,7 @@ You should now have an active ruby and node installation. Verify that it works w```bash$ ruby --version-ruby 2.6.6p114 (2019-10-01 revision 67812) [x86_64-darwin16]+ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-darwin16]$ bundler --versionBundler version 2.0.2diff --git a/docs/development/development-environment-ubuntu/README.md b/docs/development/development-environment-ubuntu/README.mdindex b7351984c95..481db11999c 100644--- a/docs/development/development-environment-ubuntu/README.md+++ b/docs/development/development-environment-ubuntu/README.md@@ -22,7 +22,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 "2.6"+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 "2.7"**Install rbenv and ruby-build**@@ -51,23 +51,23 @@ ruby-build is an addon to rbenv that installs ruby versionsgit clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build```-**Installing ruby-2.6**+**Installing ruby-2.7**-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.6`, which we also require.+With both installed, we can now install the actual ruby version 2.7. You can check available ruby versions with `rbenv install --list`.+At the time of this writing, the latest stable version is `2.7.1`, 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'` lineand install that version.```bash# Install the required version as read from the Gemfile-rbenv install 2.6.6+rbenv install 2.7.1```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-rbenv global 2.6.6+rbenv global 2.7.1rbenv rehash```@@ -149,7 +149,7 @@ You should now have an active ruby and node installation. Verify that it works w```bashruby --version-ruby 2.6.6p114 (2019-10-01 revision 67812) [x86_64-linux]+ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x86_64-linux]bundler --versionBundler version 2.0.2diff --git a/docs/installation-and-operations/installation/manual/README.md b/docs/installation-and-operations/installation/manual/README.mdindex 4c195587d00..30c1faef871 100644--- a/docs/installation-and-operations/installation/manual/README.md+++ b/docs/installation-and-operations/installation/manual/README.md@@ -105,16 +105,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 2.6.1+[openproject@host] rbenv install 2.7.1[openproject@host] rbenv rehash-[openproject@host] rbenv global 2.6.1+[openproject@host] rbenv global 2.7.1```To check our Ruby installation we run `ruby --version`. It should outputsomething very similar to:```-ruby 2.6.1pXYZ (....) [x86_64-linux]+ruby 2.7.1pXYZ (....) [x86_64-linux]```## Installation of Node@@ -458,4 +458,3 @@ If you need to restart the server (for example after a configuration change), doIf you have any further questions, comments, feedback, or an idea to enhance this guide, please tell us at the appropriate community [forum](https://community.openproject.org/projects/openproject/boards/9).[Follow OpenProject on twitter](https://twitter.com/openproject), and follow the news on [openproject.org](http://openproject.org) to stay up to date.-