# Some issues with Ruby

**URL:** <https://www.ruby-forum.com/t/some-issues-with-ruby/110593>\
**Category:** Ruby\
**Created:** [July 27, 2007, 9:58pm UTC](https://www.ruby-forum.com/t/some-issues-with-ruby/110593 "2007-07-27T21:58:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![airmind](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ecd19e/32.png) [@airmind](https://www.ruby-forum.com/u/airmind)\
**Post date:** [July 27, 2007, 9:58pm UTC](https://www.ruby-forum.com/t/some-issues-with-ruby/110593/1 "2007-07-27T21:58:23Z")

</div>

Hi,

I’m having a couple of issues, unfortunately I couldn’t find anything on  
the internet. I’m using Ubuntu 7.04, with Ruby 1.8 installed with  
Synaptic.

- My irb doesnt autocomplete objects. When I press TAB, it autocompletes  
paths, but not methods, variables, etc. I have readlines installed.

- When I want to use Gem packages, I have to “include ‘rubygems’” before  
I can use any package. This wasnt the case in Windows, is it needed in  
Linux? Is there a way to avoid it?

- rbbr (Ruby Browser) can’t find Gnome/Gtk class documentation. I tried  
both the separate documentation package and downloaded the rbbr with api  
package, but it doesnt show any documentation for Gnome classes. I had  
this problem with all my Ubuntu installations. How can I get Gnome  
classes documented in Ruby Browser?

Thanks

---

<div class="post-metadata">

**Author:** ![airmind](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ecd19e/32.png) [@airmind](https://www.ruby-forum.com/u/airmind)\
**Post date:** [July 27, 2007, 10:16pm UTC](https://www.ruby-forum.com/t/some-issues-with-ruby/110593/2 "2007-07-27T22:16:51Z")

</div>

Alexandre R. wrote:

> - My irb doesnt autocomplete objects. When I press TAB, it autocompletes  
> paths, but not methods, variables, etc. I have readlines installed.

Use this command:

irb -r irb/completion

OR put this line in your .irbrc file:

require ‘irb/completion’

> - When I want to use Gem packages, I have to “include ‘rubygems’” before  
> I can use any package. This wasnt the case in Windows, is it needed in  
> Linux? Is there a way to avoid it?

Put

export RUBYOPT=‘rubygems’

in your shell’s env file (.zshenv for me).

---

<div class="post-metadata">

**Author:** ![airmind](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/ecd19e/32.png) [@airmind](https://www.ruby-forum.com/u/airmind)\
**Post date:** [July 27, 2007, 11:32pm UTC](https://www.ruby-forum.com/t/some-issues-with-ruby/110593/3 "2007-07-27T23:32:46Z")

</div>

Thanks a lot, it all worked very well.

Does anyone know how to fix the Gnome/Gtk documentation?
