def gem_install(ruby_string, gem, version = nil)
        ruby_string = ruby_string(ruby_string)
        check_gemset!(ruby_string)
        install_cmd = "gem install #{gem}"
        install_cmd << " -v #{version}" if version