Joel VanderWerf
7/27/2007 8:16:00 PM
Alexandre Rosenfeld 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).
--
vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407