All of these issues are likely caused by a wrongly configured ruby interpreter. Unfortunately it's hard to tell without the package at hand, or a platform to test on.
Best, -- ,''`. Christian Hofstaedtler <z...@debian.org> : :' : Debian Developer `. `' 7D1A CFFA D9E0 806C 9C4C D392 5C13 D6DB 9305 2E03 `-