[Slackbuilds-users] Ruby SlackBuilds on -current

David Spencer baildon.research at googlemail.com
Sun Sep 6 12:01:41 UTC 2015


Hi folks,

If anybody has tried any of the ruby builds on -current since the
August 21 upgrade to ruby-2.2.3, you will know almost all of them are
broken. This is because there is now a subdirectory named "default"
under /usr/lib64/ruby/gems/2.2.0/specifications/. (As usual, nobody
upstream thought this was worth putting in a changelog or
documenting.)

Anyway, a glob in the SlackBuild template picks up the subdirectory
name and tries to process it as a gemspec. My suggested minimal fix is
that "/specifications/*" needs to be changed to
"/specifications/**/*.gemspec" in the template and in the SlackBuilds.

Also, a lot of SlackBuilds have an incomplete fix for the previous
"Config" -> "RbConfig" change. The line beginning "c =" should read "c
= RbConfig::CONFIG"

All the Ruby SlackBuilds will need to be fixed for 14.2, but these two
fixes are backwards compatible with 14.1, so the maintainers can apply
them now if they want to. Otherwise I'll send updated SlackBuilds to
Matteo, for maintainers to review when we get nearer to 14.2.

It would be nice to get rid of hard tabs in the template and
SlackBuilds at the same time.

I know no Ruby whatsoever beyond what was needed to find a fix for
this, so anybody who has corrections, additions, improvements and
rethinks is very welcome to take this forward. This is why I've not
included patches with this email.

Thanks for reading this
-D.


More information about the SlackBuilds-users mailing list