Bug 388627

Summary: releaseme: Unable to fetch translations with ruby 2.5 (Arch Linux)
Product: [Developer tools] releaseme Reporter: jan neumann <neum.ja>
Component: generalAssignee: Harald Sitter <sitter>
Status: RESOLVED FIXED    
Severity: normal CC: pavbaranov
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description jan neumann 2018-01-06 18:21:32 UTC
After updating ruby 2.43 -> 2.5 packages using 'make fetch-translations' does not build anymore.

(Build Log)[https://pastebin.com/xD9hzMeC]
Comment 1 Michael Pyne 2018-01-07 00:09:57 UTC
releaseme is its own repository, reassigning
Comment 2 Pawel 2018-01-07 19:23:39 UTC
(In reply to jan neumann from comment #0)
> After updating ruby 2.43 -> 2.5 packages using 'make fetch-translations'
> does not build anymore.
> 
> (Build Log)[https://pastebin.com/xD9hzMeC]

Then just try to install ruby2.4 package (in repo).
Comment 3 jan neumann 2018-01-07 19:57:39 UTC
Ok this would be a temporarily workaround. But unfortunately releaseme tries still to use ruby 2.5. 
Is there a way to tell releasme to use ruby at /opt/ruby2.4/bin and not ruby at /usr/bin ?
Comment 4 Harald Sitter 2018-01-08 01:46:36 UTC
export PATH

also, you actually have to tell cmake/ecm as *it* calls ruby not releaseme 

```
kde-modules/KDECMakeSettings.cmake:        COMMAND ruby "${CMAKE_BINARY_DIR}/releaseme/fetchpo.rb"
```
Comment 5 Harald Sitter 2018-01-08 01:49:46 UTC
Git commit 87bedd85b4cc158cc895efdeebeedd50325b9344 by Harald Sitter.
Committed on 08/01/2018 at 01:44.
Pushed by sitter into branch 'master'.

add 2.5 as supported

all tests pass as expected

M  +1    -0    .travis.yml
M  +1    -1    lib/releaseme/requirement_checker.rb
M  +4    -2    test/requirement_checker_test.rb

https://commits.kde.org/releaseme/87bedd85b4cc158cc895efdeebeedd50325b9344