Commit 37ffbeea authored by Hordur Freyr Yngvason's avatar Hordur Freyr Yngvason Committed by Stan Hu

Make ruby 2.6 the officially supported version

parent c8dfb11b
...@@ -8,7 +8,7 @@ require: ...@@ -8,7 +8,7 @@ require:
- rubocop-rspec - rubocop-rspec
AllCops: AllCops:
TargetRubyVersion: 2.5 TargetRubyVersion: 2.6
TargetRailsVersion: 5.0 TargetRailsVersion: 5.0
Exclude: Exclude:
- 'vendor/**/*' - 'vendor/**/*'
......
...@@ -202,8 +202,8 @@ Then select 'Internet Site' and press enter to confirm the hostname. ...@@ -202,8 +202,8 @@ Then select 'Internet Site' and press enter to confirm the hostname.
The Ruby interpreter is required to run GitLab. The Ruby interpreter is required to run GitLab.
**Note:** The current supported Ruby (MRI) version is 2.5.x. GitLab 11.6 **Note:** The current supported Ruby (MRI) version is 2.6.x. GitLab 12.2
dropped support for Ruby 2.4.x. dropped support for Ruby 2.5.x.
The use of Ruby version managers such as [RVM], [rbenv] or [chruby] with GitLab The use of Ruby version managers such as [RVM], [rbenv] or [chruby] with GitLab
in production, frequently leads to hard to diagnose problems. For example, in production, frequently leads to hard to diagnose problems. For example,
......
...@@ -40,7 +40,7 @@ Please consider using a virtual machine to run GitLab. ...@@ -40,7 +40,7 @@ Please consider using a virtual machine to run GitLab.
## Ruby versions ## Ruby versions
GitLab requires Ruby (MRI) 2.5. Support for Ruby versions below 2.5 (2.3, 2.4) will stop with GitLab 11.6. GitLab requires Ruby (MRI) 2.6. Support for Ruby versions below 2.6 (2.4, 2.5) will stop with GitLab 12.2.
You will have to use the standard MRI implementation of Ruby. You will have to use the standard MRI implementation of Ruby.
We love [JRuby](https://www.jruby.org/) and [Rubinius](https://rubinius.com) but GitLab We love [JRuby](https://www.jruby.org/) and [Rubinius](https://rubinius.com) but GitLab
......
...@@ -47,8 +47,8 @@ sudo service gitlab stop ...@@ -47,8 +47,8 @@ sudo service gitlab stop
### 3. Update Ruby ### 3. Update Ruby
NOTE: Beginning in GitLab 11.6, we only support Ruby 2.5 or higher, and dropped NOTE: Beginning in GitLab 12.2, we only support Ruby 2.6 or higher, and dropped
support for Ruby 2.4. Be sure to upgrade if necessary. support for Ruby 2.5. Be sure to upgrade if necessary.
You can check which version you are running with `ruby -v`. You can check which version you are running with `ruby -v`.
......
...@@ -86,7 +86,7 @@ namespace :services do ...@@ -86,7 +86,7 @@ namespace :services do
doc_start = Time.now doc_start = Time.now
doc_path = File.join(Rails.root, 'doc', 'api', 'services.md') doc_path = File.join(Rails.root, 'doc', 'api', 'services.md')
result = ERB.new(services_template, 0, '>') result = ERB.new(services_template, trim_mode: '>')
.result(OpenStruct.new(services: services).instance_eval { binding }) .result(OpenStruct.new(services: services).instance_eval { binding })
File.open(doc_path, 'w') do |f| File.open(doc_path, 'w') do |f|
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment