add option to specify rubygems version for ruby installation, closes #1611