From: Brian Candler Date: 2009-01-22T19:09:54+09:00 Subject: Re: class doesn't know about calling program's libraries? Brian Candler wrote: > If so, I suspect the problem lies somewhere outside > what you posted. Looking again, I see it now. This boils down what you wrote and replicates the problem: ---- 8< ---- def main Foo.new.bar end class Foo def initialize puts "Not reached" end Readline::readline(">>") end require 'readline' main ---- 8< ---- Can you see what's wrong with this? -- Posted via http://www.ruby-forum.com/.