Re: How to get ri working for ruby19?
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.
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
討論串 (同標題文章)