    # File lib/chef/provider/package/rubygems.rb, line 496
            def install_via_gem_command(name, version)
              if @new_resource.source =~ /\.gem$/i
                name = @new_resource.source
              else
                src = @new_resource.source && "  --source=#{@new_resource.source} --source=http://rubygems.org"
              end
              if version
                shell_out!("#{gem_binary_path} install #{name} -q --no-rdoc --no-ri -v \"#{version}\"#{src}#{opts}", :env=>nil)
              else
                shell_out!("#{gem_binary_path} install #{name} -q --no-rdoc --no-ri #{src}#{opts}", :env=>nil)
              end
            end