installing rubygems and specific gems if needed