Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
37ffbeea
Commit
37ffbeea
authored
Aug 14, 2019
by
Hordur Freyr Yngvason
Committed by
Stan Hu
Aug 14, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make ruby 2.6 the officially supported version
parent
c8dfb11b
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
7 deletions
+7
-7
.rubocop.yml
.rubocop.yml
+1
-1
doc/install/installation.md
doc/install/installation.md
+2
-2
doc/install/requirements.md
doc/install/requirements.md
+1
-1
doc/update/upgrading_from_source.md
doc/update/upgrading_from_source.md
+2
-2
lib/tasks/services.rake
lib/tasks/services.rake
+1
-1
No files found.
.rubocop.yml
View file @
37ffbeea
...
@@ -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/**/*'
...
...
doc/install/installation.md
View file @
37ffbeea
...
@@ -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,
...
...
doc/install/requirements.md
View file @
37ffbeea
...
@@ -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
...
...
doc/update/upgrading_from_source.md
View file @
37ffbeea
...
@@ -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 1
1.6, we only support Ruby 2.5
or higher, and dropped
NOTE: Beginning in GitLab 1
2.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`
.
...
...
lib/tasks/services.rake
View file @
37ffbeea
...
@@ -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
|
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment