From owner-freebsd-questions@FreeBSD.ORG Sun Jul 6 17:12:26 2014 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E47B5799 for ; Sun, 6 Jul 2014 17:12:25 +0000 (UTC) Received: from mail-ig0-x232.google.com (mail-ig0-x232.google.com [IPv6:2607:f8b0:4001:c05::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B017622B4 for ; Sun, 6 Jul 2014 17:12:25 +0000 (UTC) Received: by mail-ig0-f178.google.com with SMTP id hn18so3626806igb.11 for ; Sun, 06 Jul 2014 10:12:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=s0Wv/+7uNSQR2WjDcm7xP6JVuQf08dQbGWjZsCBskzk=; b=X9POupm3ww/Ksu1qTi1C+GkN28/fhVn3Jw4AhLgaUINJh3I+RW46GfTx4jvyoI7L5g 3Ul3gBCEQ0aU7p2oAbLkJlt+VmK9TgxK8q+tQlKryoXLegYwonJhC8P2dboviA9V5POV H6JsPsZVdJBfXF5g7cHzKkMMBmyUJFkEj6Rk5MYoKkWGBbFJdqBA575aoAkDR+6xKZ9v x7deLzmOKR3CgiBeWq49yjetfZAGqviyd7jNStffF/I+U3A5kdReXwfPwfT2sbvd4eKj igR9npYFnU7UydFTnD2O66T5RpC8w7Kd5dfoDvpTyHDVwHN/4QhgJGJRRyXvvfeylQpS Ilhw== MIME-Version: 1.0 X-Received: by 10.50.79.164 with SMTP id k4mr33363049igx.12.1404666744993; Sun, 06 Jul 2014 10:12:24 -0700 (PDT) Received: by 10.64.229.51 with HTTP; Sun, 6 Jul 2014 10:12:24 -0700 (PDT) Received: by 10.64.229.51 with HTTP; Sun, 6 Jul 2014 10:12:24 -0700 (PDT) In-Reply-To: References: <874myv1n6z.fsf@elk.localnet> Date: Sun, 6 Jul 2014 13:12:24 -0400 Message-ID: Subject: Re: How to get ri working for ruby19? From: transitive To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 06 Jul 2014 17:12:26 -0000 I found this link describing what to do to get ri working on freebsd. http://www.thecodingforums.com/threads/getting-ri-working-on-freebsd.841508/ The method I used was the similar to that described above but the rdoc command I used was simpler and it seemed to work. You have to find your version of the ruby-1.9.3-484.tar.bz2 file in /usr/ports/distfiles and untar the ruby file and run the rdoc command on the untarred ruby directory. So as root do the following: # tar jxvf /usr/ports/distfiles/ruby-1.9.3-p484.tar.bz2 # rdoc -R ruby-1.9.3-p484/ ri works on my freebsd 10 stable system seems to work after I did that. By the way you can see the options for rdoc by doing: rdoc --help Hope that helps. Don't know why the ruby port doesn't take that into account. I'm no expert when it comes to ports though.