Ruby and ri(1) ruby information
kogorman at gmail.com
Fri Dec 20 01:51:52 UTC 2013
On Thu, Dec 19, 2013 at 1:26 PM, Colin Law <clanlaw at gmail.com> wrote:
> On 19 December 2013 21:14, Kevin O'Gorman <kogorman at gmail.com> wrote:
>> kevin at treat:~$ apt-cache policy ruby
>> Installed: 4.9
>> Candidate: 4.9
>> Version table:
>> *** 4.9 0
>> 500 http://us.archive.ubuntu.com/ubuntu/ raring/main amd64 Packages
>> 100 /var/lib/dpkg/status
>> kevin at treat:~$ ruby -v
>> ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-linux]
>> kevin at treat:~$ which ruby
>> kevin at treat:~$ which ri
>> kevin at treat:~$ ri -v
>> ri 3.9.4
>> kevin at treat:~$
> Kevin, you know better than to top post :)
> That looks ok, so what do you see for
> ri String
>> On Wed, Dec 18, 2013 at 12:22 AM, Colin Law <clanlaw at gmail.com> wrote:
>>> On 17 December 2013 05:49, Kevin O'Gorman <kogorman at gmail.com> wrote:
>>>> I recently would up with a book on Ruby and got curious about it.
>>>> I discovered I have Ruby installed. This was a fresh install of
>>>> xubuntu 13.04, so I assume it came with the distro.
>>>> Following the book (The Ruby Programming Language, O'Reilly) in the
>>>> first few pages it talks about things that come with. Including the
>>>> ri command, and it gives examples. None of them work -- they all say
>>>> "Nothing known about x"
>>>> Is there something I have done wrong? Is there something I can do to
>>>> put it right? Or is this time to file a bug?
>>> What do you get for
>>> apt-cache policy ruby
>>> ruby -v
>>> which ruby
So you chided me on top too? It happens just like typos -- click
before thinking. Sorry.
kevin at treat:~$ ri String
Nothing known about String
kevin at treat:~$
Same for Array, or any of a bunch of others.
programmer, n. an organism that transmutes caffeine into software.
Please consider the environment before printing this email.
More information about the ubuntu-users