fixed ruby gem install on both platforms, use package installer to ensure test deps are in place