install rubygems for ubuntu/debian

Signed-off-by: Steven Armstrong <steven@icarus.ethz.ch>
Merge branch 'issue/244' into production