[#192] auto-loaded script? — Julian Fondren <julian@...>
Does ruby load any particular scripts upon startup?
13 messages
1999/01/17
[#193] Re: auto-loaded script?
— gotoken@... (GOTO Kentaro)
1999/01/17
In message "[ruby-talk:00192] auto-loaded script?"
[#194] Re: auto-loaded script?
— Julian Fondren <julian@...>
1999/01/18
> >Does ruby load any particular scripts upon startup?
[#195] Re: auto-loaded script?
— matz@... (Yukihiro Matsumoto)
1999/01/18
Hi.
[#197] Re: auto-loaded script?
— Julian Fondren <julian@...>
1999/01/18
> rb_load_file("/home/julian/.rubyrc"); /* this line added */
[#210] Get character with no wait — Gabriel <gabriel@...>
What is the best way to do a getc without waiting; so I can try to grab
8 messages
1999/01/25
[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?