Bug 244787 - [exp-run] switch default Ruby to 2.7
Summary: [exp-run] switch default Ruby to 2.7
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Port Management Team
Depends on:
Reported: 2020-03-13 09:46 UTC by Koichiro Iwao
Modified: 2020-03-14 04:09 UTC (History)
5 users (show)

See Also:
meta: exp-run?

patch-ruby27-default (444 bytes, text/plain)
2020-03-13 09:46 UTC, Koichiro Iwao
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Koichiro Iwao freebsd_committer 2020-03-13 09:46:19 UTC
Created attachment 212377 [details]

As usual, switch to Ruby 2.7.
Comment 1 Matthias Fechner freebsd_committer 2020-03-13 18:36:52 UTC
I tested ruby 2.7 with gitlab-ce and it does not work.
I see a lot of errors so we have to wait till gitlab is working with ruby 2.7.

Lets see, maybe the next version works (they release normally on the 22.).
Comment 2 Matthias Fechner freebsd_committer 2020-03-14 04:09:42 UTC
To give you more details, I see error like:
==> /usr/local/www/gitlab-ce/log/production.log <==

ArgumentError (wrong number of arguments (given 3, expected 1..2)):

lib/gitlab/request_profiler/middleware.rb:17:in `call'
lib/gitlab/middleware/go.rb:20:in `call'
lib/gitlab/etag_caching/middleware.rb:13:in `call'
lib/gitlab/middleware/multipart.rb:117:in `call'
lib/gitlab/middleware/read_only/controller.rb:53:in `call'
lib/gitlab/middleware/read_only.rb:18:in `call'
lib/gitlab/middleware/basic_health_check.rb:25:in `call'
lib/gitlab/middleware/request_context.rb:23:in `call'
config/initializers/fix_local_cache_middleware.rb:9:in `call'
lib/gitlab/metrics/requests_rack_middleware.rb:49:in `call'
lib/gitlab/middleware/release_env.rb:12:in `call'

So there seems to be an API change which is not fully compatible with gitlab, yet.