Date: Sun, 6 Jul 2014 13:12:24 -0400 From: transitive <transitive@gmail.com> To: freebsd-questions@freebsd.org Subject: Re: How to get ri working for ruby19? Message-ID: <CABYcfLV0XNgxPD3MuCmSiYB3LRA%2Bj-ZYLS%2B2N0qaCXji8y_42Q@mail.gmail.com> In-Reply-To: <CABYcfLU=06WD=sMiewbNX6EWGU=eLTQu19ninMx0tvAZG%2Beh1w@mail.gmail.com> References: <874myv1n6z.fsf@elk.localnet> <CABYcfLX513x5v1A1nrzVnAxzhpBeKj-2S4%2BKBJofTAosD0jByg@mail.gmail.com> <CABYcfLVi71ZCPnrzAVW1wCQ8tCo2AMS-zfvgieo%2BfESkBuM8Lg@mail.gmail.com> <CABYcfLUvGpbS5Yyjh7svkupWfev8PCJvd01h_YJn7HqnuVrq2w@mail.gmail.com> <CABYcfLU=06WD=sMiewbNX6EWGU=eLTQu19ninMx0tvAZG%2Beh1w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABYcfLV0XNgxPD3MuCmSiYB3LRA%2Bj-ZYLS%2B2N0qaCXji8y_42Q>