[ruby-talk:00205] Re: auto-loaded script?

From: Julian Fondren <julian@...>
Date: 1999-01-21 23:15:42 UTC
List: ruby-talk #205
> Hi.  Sorry for late responce.
> 
> In message "[ruby-talk:00199] Re: auto-loaded script?"
>     on 99/01/18, Julian Fondren <julian@imaji.net> writes:
> 
> |=begin error
> |util.c:137: warning: mktemp() possibly used unsafely; consider using
> |mkstemp()
> |/home/julian/rubyrc:3: Unitialized constant Readline (NameError)
> |	from /usr/local/lib/ruby/rubyinit.rb:3
> |*** Error code 1
> |
> |Stop in /usr/local/tmp/ruby-1.2.1.
> |=end
> 
> The error indicates you referred Readline constant, which is not
> defined by the Ruby interpreter, in /home/julian/rubyrcd.  You need to
> do `require "readlne"' before referring Readline.
> 
>                                                 matz.

Well sure, but why does the compilation care at all about some file to be
read when ruby starts up?

In This Thread